#25905 [Opn->WFx]: getimagesize fail with some jpegs

From: Date: Sun, 19 Oct 2003 00:20:23 +0000
Subject: #25905 [Opn->WFx]: getimagesize fail with some jpegs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49172@lists.php.net to get a copy of this message
 ID:               25905
 Updated by:       helly@php.net
 Reported By:      sitnikov at infonet dot ee
-Status:           Open
+Status:           Wont fix
 Bug Type:         GetImageSize related
 Operating System: Linux
 PHP Version:      4CVS-2003-10-18 (stable)
-Assigned To:      
+Assigned To:      helly
 New Comment:

Interesting. Could you try to open the file with the exif functions?

But however the file is borked.


Previous Comments:
------------------------------------------------------------------------

[2003-10-18 18:05:49] sitnikov at infonet dot ee

Description:
------------
getimagesize fail with jpeg created by 602PC Suite software

Example jpeg:
http://si.infonet.ee/wrong_jpeg.jpg

All other software (Photoshop, ACDSee, xnview, IE, Mozila, Opera, etc)
open this file correctly.

ImageMagic/identify says:
/usr/local/ImageMagick/bin/identify: Corrupt JPEG data: 2 extraneous
bytes before marker 0xfe

After some debuging, i can see, than this jpg file have 2 zero byte
before next marker, and php_next_marker fail with this data.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25905&edit=1


Thread (11 messages)

« previous php.bugs (#49172) next »