Re: function imagecreatefromjpeg()

From: Date: Wed, 12 May 2004 10:08:29 +0000
Subject: Re: function imagecreatefromjpeg()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-185963@lists.php.net to get a copy of this message
I checked to open it with Fireworks and I got an error, but other programs like MS Internet Explorer can open it perfectly. The files on which PHP gives an error are the same as the ones that Fireworks can't open and vice versa. Is there a solution to fix these files, since they are not really corrupt ? Thanks a lot, Dominique "Petr U." <lists@mho.ath.cx> schreef in bericht news:20040512115929.5c1410ba@home... > On Wed, 12 May 2004 10:48:24 +0200 > "PHP" <dominiqueallegaert@hotmail.com> wrote: > > > [11-May-2004 23:16:15] PHP Warning: imagecreatefromjpeg() [<a > > > href='http://www.php.net/function.imagecreatefromjpeg'>function.imagecreatef > > romjpeg</a>]: '/home/infos/domalle/miweb/pizias/photodir/6.jpg' is not a > > valid JPEG file in /home/infos/domalle/miweb/pizias/TestOnResize2/resize.php > > on line 42 > > Are you really sure this image is _really_ correct JPEG ? Check it. I don't > know anything about JPEG file history (changes in file format), but I think no > major changes was there in last time (http://www.ijg.org/files/ latest > source is from '98) -> we can eliminate old varsion of jpeg library i think. > So check if that file is really correct JPEG image.. > > -- > Petr U.

« previous php.general (#185963) next »