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

From: Date: Sun, 19 Oct 2003 00:22:00 +0000
Subject: #25905 [WFx->Bgs]: getimagesize fail with some jpegs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49173@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: Wont fix +Status: Bogus Bug Type: GetImageSize related Operating System: Linux PHP Version: 4CVS-2003-10-18 (stable) Assigned To: helly New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-10-18 20:20:22] helly@php.net Interesting. Could you try to open the file with the exif functions? But however the file is borked. ------------------------------------------------------------------------ [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

« previous php.bugs (#49173) next »