Hello Benjamin
I have kept octave-3.2.2/mingw32 by Bebjamin on the computer in the university.
For octave-3.2.2/mingw,
img=imread('test.jpg');
worked correct.
Perhaps the error on octave-3.2.3/mingw32 gcomes from miss configuration of
GraphicsMagick for jpeg
libraries.
Regards
Tatsuro
--- Tatsuro MATSUOKA wrote:
> Hello Benjamin
>
> I have executed
>
> img=imread('test.jpg')
>
> on the octave-3.2.3/mingw32.
>
> The result is
>
> octave:2> img=imread('test.jpg');
> error: imread: invalid image file: Magick++ exception: Magick: Corrupt image
> (C:\usr\tatsu\test\testOctave\test.jpg) rep
> orted by
> D:/build/octave32/3.2.x_gcc-4.4.0/forge/graphicsmagick/GraphicsMagick-1.3.7/coders/jpeg.c:1124
> (ReadJPEGImage)
> error: called from:
> error:
> C:\Programs\Octave\3.2.3_gcc4.4.0\share\octave\3.2.3\m\image\imread.m at line
> 74,
> column 7
> octave:2> img=imread('test.png');
> octave:3>
>
> The above tells that imread for png files is no problem.
>
> I have tested on my own build octave-3.2.3 / mingw and octave 3.2.3 on cygwin
> by Marco.
>
> img=imread('test.jpg');
>
> can be executed without errors.
>
> I attached 'test.jpg' used for test to this post.
>
> Regards
>
> Tatsuro
>
>
>
>
> --------------------------------------
> GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
> http://pr.mail.yahoo.co.jp/gyao/>
------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference>
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>
--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev