> 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.
I see this too. Also jpgread() from the image toolbox fails.
I suspect that there is a problem with libjpeg v7, because jpegtran.exe fails
to read your picture when linked with v7, but succeeds when linked with v6b.
I'll try and rebuild graphicsmagick with jpeg v6b and see if this error is gone.
benjamin
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
------------------------------------------------------------------------------
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