|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
imread on Octave 3.2.0 for WindowsHi,
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. Any ideas? Best, Koen _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsTime 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 |
|
|
Re: imread on Octave 3.2.0 for WindowsHello
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 > > (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 |
|
|
Re: imread on Octave 3.2.0 for WindowsOn 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 _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for Windowskavermeer 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! > I can confirm this error. I'll look into it. benjamin _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsHello
--- 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/ _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsBenjamin Lindner wrote:
> 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! >> > > I can confirm this error. > I'll look into it. > It's a packaging error on my side. I missed to install the configuration files. Plus graphicsmagick must be slightly patched to look at the right paths to find them. It will be fixed in the 3.2.1 release. benjamin _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsOn Mon, 2009-06-15 at 16:54 +0200, Benjamin Lindner wrote:
> Benjamin Lindner wrote: > >> I installed GraphicsMagick (1.3.5, Q16), but still get the same error. I > >> appreciate any help! > > I can confirm this error. > > I'll look into it. > It's a packaging error on my side. I missed to install the configuration > files. Plus graphicsmagick must be slightly patched to look at the right > paths to find them. > It will be fixed in the 3.2.1 release. I seem to be able to work around it by installing GraphicsMagick and setting the environment variable MAGICK_CONFIGURE_PATH to the path where magic.mgk is. Anyway, looking forward to 3.2.1. Koen _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsOn 15-Jun-2009, Benjamin Lindner wrote:
| It's a packaging error on my side. I missed to install the configuration | files. Plus graphicsmagick must be slightly patched to look at the right | paths to find them. | | It will be fixed in the 3.2.1 release. There is no need to wait for Octave 3.2.1 to be released to fix a packaging error. There are often minor releases of the Debian packages for the same Octave version. I'd recommend doing the same if you need to fix packaging problems. It does help if you append some extra version info to the file you distribute so one can identify which binary release it is. For example, you might use something like octave-3.2.0-1_i686... for the name of the installer file. jwe _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsJohn W. Eaton wrote:
> On 15-Jun-2009, Benjamin Lindner wrote: > > | It's a packaging error on my side. I missed to install the configuration > | files. Plus graphicsmagick must be slightly patched to look at the right > | paths to find them. > | > | It will be fixed in the 3.2.1 release. > > There is no need to wait for Octave 3.2.1 to be released to fix a > packaging error. There are often minor releases of the Debian > packages for the same Octave version. I'd recommend doing the same if > you need to fix packaging problems. It does help if you append some > extra version info to the file you distribute so one can identify > which binary release it is. For example, you might use something like > octave-3.2.0-1_i686... for the name of the installer file. > > jwe > You are of course right, I don't know why I didn't think of that in the first place. Anyway, I'll provide a version -2 of the installer. benjamin _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: imread on Octave 3.2.0 for WindowsCan you explain this better? I don“t know do it. Thank you, Diego |
| Free embeddable forum powered by Nabble | Forum Help |