#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 Keywords: | Port: octave-devel --------------------+-------------------------------- Is this a problem with '''Octave''' or '''GraphicsMagick'''? I need to read full color (24 bit per pixel) JPEG image files into Octave. When I try I get: {{{ octave:3> TestImage = imread('test_image.jpg', 'JPEG'); warning: your version of GraphicsMagick limits images to 8 bits per pixel error: imread: invalid image file: invalid conversion from string to real N-d array error: called from: error: /opt/local/share/octave/3.6.3/m/image/imread.m at line 74, column 7 }}} I don't know enough about MacPorts etc., to know if the fix for this would be ("globally") in the port of GraphicsMagick, or ("locally") in Octave's dependency on GraphicsMagick. (In fact I don't understand why anyone would ever want to limit image files to 8 bit, but I guess that is off topic.) There is a note about this issue here: http://wiki.octave.org/GraphicsMagick I am running Mountain Lion (10.8.3) and Xcode 4.6.1. Please let me know of any suggestions for a work-around in the meantime. -- Ticket URL: <https://trac.macports.org/ticket/38730> MacPorts <http://www.macports.org/> Ports system for OS X