|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
cannot imread of jpeg file octave-3.2.3/mingw32Hello 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 Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: cannot imread of jpeg file octave-3.2.3/mingw32Hello 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 > Octave-dev@... > 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 Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: cannot imread of jpeg file octave-3.2.3/mingw32> 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 Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: cannot imread of jpeg file octave-3.2.3/mingw32Benjamin Lindner 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. > > 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. It's not, but I traced the error to my buggy patch of jpeg. I don't really understand it, because it is actually the same, just expressed differently. whatever. It seems to work now. It's fixed in svn. I'll see if I can fix up an additional test in __magick_read__.cc for jpg reading (along the already present png one). thanks for reporting it. benjamin ------------------------------------------------------------------------------ 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 Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: cannot imread of jpeg file octave-3.2.3/mingw32Hello
I have just seen the svn trees and found your fix of the jpeg-7. The patch you did is similar to that I have done for the jpeg-7. Anyway I am glad to hear you have kicked out the problem. Regards Tatsuro --- Benjamin Lindner wrote: > Benjamin Lindner 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. > > > > 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. > > It's not, but I traced the error to my buggy patch of jpeg. > I don't really understand it, because it is actually the same, just > expressed differently. whatever. It seems to work now. > It's fixed in svn. > I'll see if I can fix up an additional test in __magick_read__.cc for > jpg reading (along the already present png one). > > thanks for reporting it. > > benjamin > -------------------------------------- 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 Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: cannot imread of jpeg file octave-3.2.3/mingw32Tatsuro MATSUOKA wrote:
> Hello > > I have just seen the svn trees and found your fix of the jpeg-7. > > The patch you did is similar to that I have done for the jpeg-7. > > Anyway I am glad to hear you have kicked out the problem. > The issue should be fixed in the -r2 of the 3.2.3 installer. benjamin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
| Free embeddable forum powered by Nabble | Forum Help |