On 14 Jun 2011, at 15:16, Takashi Sugano wrote:

> Hi, 
> 
> I'm using Julien Salort's Octave.app version 3.4.0 on Mac OS X 10.6.7.
> It was downloaded from 
> <http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/>
> 
> However,  I can't use the function 'imread'. When I use the function, 
> following error message is showed.
> 
>  octave-3.4.0:4> xin = imread('Phalaenopsis_JPEG.jpg')
>  error: imread: invalid image file: imread: image reading capabilities were 
> disabled when Octave was compiled
>  error: called from:
>  error:   
> /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/image/imread.m
>  at line 74, column 7
>  octave-3.4.0:4>
> 
>  It looks the image file was wrong. But, the image file is absolutely JPEG 
> file. It was downloaded in following Wikipedia site.
> <http://upload.wikimedia.org/wikipedia/commons/6/6b/Phalaenopsis_JPEG.jpg>
> 
> The same error message was generated even if  I use PNG file.
> How should I do to use the function ?
> 
> Takashi

This is because Octave.app was compiled with GraphicsMagick support disabled.
If you want a version of Octave linked to GraphicsMagick you can either compile 
it yourself or install MacPorts
<http://www.macports.org/>
and install Octave via MacPorts 
<https://trac.macports.org/browser/trunk/dports/math/octave-devel/Portfile>.
c.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to