help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: imread: invalid image file


From: Ben Abbott
Subject: Re: error: imread: invalid image file
Date: Sat, 01 Dec 2012 19:04:13 -0500

On Dec 1, 2012, at 6:53 PM, Ed Meyer wrote:

> On Sat, Dec 1, 2012 at 6:39 AM, Seetha Parameswaran <address@hidden> wrote:
> Hello,
> 
>> The following error message was got when i compiled 
>> 
>> error: imread: invalid image file: imread: image reading capabilities were 
>> disabled when Octave was compiled
>> error: called from:
>> error:   /usr/local/share/octave/3.6.3/m/image/imread.m at line 74, column 7
>> error:   /home/compaq/project/octave/similaritymeasures.m at line 6, column 7
>> 
>> The file similaritymeasures.m uses imread() to read an image.
>> The file was successfully compiled and running in previous version of 
>> Octave3.2 and Image toolbox 1.x
>> 
>> Now I have upgraded to Octave3.6.1 and Image2.0.0.
>> 
>> The OS is Ubuntu 12.04 in both cases.
>> 
>> 
>> How do I solve this.
> 
> it sounds like this version of octave was built without graphicsmagick or 
> imagemagick - did you
> build it yourself? if so do you have either of these libraries?

You can check this from Octave's command line by ...

        octave_config_info ().MAGICK_LIBS
        ans = -lGraphicsMagick++ -lGraphicsMagick  

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]