« Return to Thread: imread on Octave 3.2.0 for Windows

Re: imread on Octave 3.2.0 for Windows

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View in Thread

Hello

This topic is limited to the windows version of octave which can be dowloadded from octave-forge
repository so that the post should be done to octave-dev@... but not
help-octave@....

I have tried the imread and encountered the same error.  This may be occurred by miss packaging of
'magic.mgk'.  I have tried the several folders to place 'magic.mgk' but unfortunately I could not find
the place.  So this issue can be fixed only package maintainer Benjamin Lindar.

I will sent this mail as a carbon copy (cc.) to Benjamin.

Please wait until Benjamin will make a reply.

Otherwise you can use imread on octave-3.0.5 after installing image-1.0.8 package which can be
downloaded from  

http://www.tatsuromatsuoka.com/octave/Eng/Win/

image-1.0.8_prebuild_oct_3.0.5_mgw.zip,, Prebuild image-1.0.8 package for Octave 3.0.5 for Windows
MinGW32 Installer. Please read the Readme.txt in the archive file to install.


You can use imread. Please note that imread of image-1.0.8 cannot read .bmp file. Please use .png ,
.jpg, etcs.

Regards

Tatsuro

--- kavermeer  wrote:

>
>
> kavermeer wrote:
> >
> > At work, I installed Octave 3.2.0 for Windows today, and tried to read
> > an image with imread. Unfortunately, I got some error saying that
> > magick.mgk (or magic.mgk?) was missing. Should I install GraphicsMagick
> > separately? Or is this supposed to be part of the Octave installer? The
> > readme says something about imread requiring the GraphicsMagick library,
> > but nothing about whether it is part of Octave or not.
> >
>
> Time for a better report. After installing Octave 3.2.0, I try imread, and I
> get the following in the Octave window:
>
> octave-3.2.0.exe:1:C:\Octave\3.2.0_gcc-4.3.0\bin
> > i=imread('c:\testbin.bmp');
> error: imread: invalid image file: Magick++ exception: Magick: Unable to
> access configuration file (magic.mgk) reported by
>
d:/files/admin/octaveforge_svn/trunk/octave-forge/admin/Windows/mingw32/graphicsmagick/GraphicsMagick-1.3.3/magick/blob.c:1824

> (GetConfigureBlob)
> error: called from:
> error:   C:\Octave\3.2.0_gcc-4.3.0\share\octave\3.2.0\m\image\imread.m at
> line 74, column 7
> octave-3.2.0.exe:1:C:\Octave\3.2.0_gcc-4.3.0\bin
> >
>
> I installed GraphicsMagick (1.3.5, Q16), but still get the same error. I
> appreciate any help!
>
> Koen
> --
> View this message in context:
> http://www.nabble.com/imread-on-Octave-3.2.0-for-Windows-tp23972420p23996896.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

 « Return to Thread: imread on Octave 3.2.0 for Windows