Re: imread on Octave 3.2.0 for Windows

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: imread on Octave 3.2.0 for Windows

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread on Octave 3.2.0 for Windows

by kavermeer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-06-13 at 11:06 +0900, Tatsuro MATSUOKA wrote:
> 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@....

OK, if you say so... I'll reply to help-octave as well, though, because
I think that's where most inexperienced users (like myself) will look
first and that's where I posted the problem initially. The Octave
homepage doesn't mention the sourceforge-lists.

> 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 was able to fix it by installing GraphicsMagick and setting some
environment variable (something like MAGICK_CONFIG_PATH). I can post the
correct name of the environment variable on Monday.

Best,
Koen



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread on Octave 3.2.0 for Windows

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

--- Koen Vermeer wrote:

> On Sat, 2009-06-13 at 11:06 +0900, Tatsuro MATSUOKA wrote:
> > 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@....
>
> OK, if you say so... I'll reply to help-octave as well, though, because
> I think that's where most inexperienced users (like myself) will look
> first and that's where I posted the problem initially. The Octave
> homepage doesn't mention the sourceforge-lists.

The octave-dev  ML is not mentioned in octave homepage but mentioned in octave-forge HP.
I admit that it is not easy to find it if you directly access to the octave download page.

Almost all maintainers and contributors are subscribed in not only octave ML but also octave-dev ML so
that reliability of octave-dev list is not lower than the list in octave project.  


> > 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 was able to fix it by installing GraphicsMagick and setting some
> environment variable (something like MAGICK_CONFIG_PATH). I can post the
> correct name of the environment variable on Monday.

Good!

I will wait to your and Benjamin's comments and after that I will revise the OctaveForWinows Wiki.

Thanks!

Regards

Tatsuro

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev