ID: 31797 Updated by: [EMAIL PROTECTED] Reported By: shimi at shimi dot net -Status: Open +Status: Bogus Bug Type: *Graphics related Operating System: Linux PHP Version: 4CVS-2005-02-01 (stable) New Comment:
Add 'error_reporting(E_ALL);' to your script: PHP Warning: exif_read_data(82728697.jpg): corrupt EXIF header: maximum directory nesting level reached in Command line code on line 1 Corrupted image -> no bug in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-02-01 21:42:47] shimi at shimi dot net Description: ------------ I have a script that parses EXIF data from images, displaying them as a new image (using GD) that contains the data. Lately (I am not sure when exactly, but I suspect it was after upgrading to STABLE-CVS due to fixing of the unserialize() bug I suffered badly from), it seems that most of the important EXIF data is simply not read (like ExposureTime, etc). I asked someone to verify that the image indeed has the details, and it looks that it does. Here's a screenshot from his EXIF read: http://uploaded.fresh.co.il/2005/02/01/76282133.png Reproduce code: --------------- $data=exif_read_data("http://uploaded.fresh.co.il/2005/01/23/82728697.jpg"); print_r($data); Expected result: ---------------- See all EXIF data stored on file. Actual result: -------------- Only part of the EXIF is retrieved: Array ( [FileName] => 82728697.jpg [FileDateTime] => 1106515041 [FileSize] => 102438 [FileType] => 2 [MimeType] => image/jpeg [SectionsFound] => ANY_TAG, IFD0 [COMPUTED] => Array ( [html] => width="494" height="616" [Height] => 616 [Width] => 494 [IsColor] => 1 [ByteOrderMotorola] => 0 ) [ImageDescription] => OLYMPUS DIGITAL CAMERA [Make] => OLYMPUS OPTICAL CO.,LTD [Model] => C4100Z,C4000Z [XResolution] => 72/1 [YResolution] => 72/1 [ResolutionUnit] => 2 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31797&edit=1
