[MacPorts] #38730: octave-devel @3.6.3 GraphicsMagick limits images to 8 bits per pixel
MacPorts
noreply at macports.org
Wed Apr 10 21:11:04 PDT 2013
#38730: octave-devel @3.6.3 GraphicsMagick limits images to 8 bits per pixel
---------------------------+--------------------------------
Reporter: cwr@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: octave-devel |
---------------------------+--------------------------------
Comment (by cwr@…):
OMG. It never occurred to me to leave off imread's "optional" second
argument, let alone that the calling sequence might have been changed in a
non-backward-compatible way (and that I was using obsolete doc). However
after michaelld's message I tried it:
{{{
TestImage = imread('test_image.jpg');
}}}
and it appears to have worked. (I put that tiny test image here:
http://www.red3d.com/cwr/temp/test_image.jpg in case anyone wants to try.)
The matrix returned from imread has dimensions 25,25,3 as expected (the
image is 25x25 pixels and the third dimension is the number of
channels/quanta for this RGB image). The values in the matrix are between
0 and 255, as one would expect.
I'm not sure if I'm more relieved that I can now read my data or annoyed
that I had been shooting myself in the foot. In any case, thanks a million
for looking at this.
--
Ticket URL: <https://trac.macports.org/ticket/38730#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list