Re: getimagetype() broken for jpegs?

From: Date: Wed, 02 Oct 2002 13:27:01 +0000
Subject: Re: getimagetype() broken for jpegs?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-88855@lists.php.net to get a copy of this message
Hrm... Actually, after a bit more checking it is only some jpegs that don't work. Specifically the ones coming from my digital camera are no longer working. Images that used to work with getimagesize() are now not, so I think something changed. Try running getimagesize() on this image: http://lerdorf.com/azj.jpg -Rasmus On Wed, 2 Oct 2002, Andrei Zmievski wrote: > On Tue, 01 Oct 2002, Rasmus Lerdorf wrote: > > So result is never filled in as it doesn't think we hit any markers. Yet > > a "file foo.jpg" returns: > > > > foo.jpg: JPEG image data, JFIF standard 1.02, resolution (DPI), 72 x 72 > > > > I have tried it with a number of different jpegs. My libjpeg is: > > > > libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40557000) > > > > Can someone recreate this in current CVS HEAD? > > Nope, it works fine for me. > > -Andrei > http://www.gravitonic.com/ > > Give a man a fish; you have fed him for today. Teach a man to use > the Net and he won't bother you for weeks. > -Author unknown >

« previous php.dev (#88855) next »