exif_read_data reads very little data from what it used to read
| Bug #31797 | exif_read_data reads very little data from what it used to read | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2005-02-01 21:42 UTC | Modified: | 2005-02-02 00:29 UTC |
|
||||||||||
| From: | shimi at shimi dot net | Assigned: | andrei (profile) | |||||||||||
| Status: | Closed | Package: | EXIF related | |||||||||||
| PHP Version: | 4CVS, 5CVS (2005-02-01) | OS: | * | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2005-02-01 21:42 UTC] 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 )
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-02-01 21:52 UTC] sniper@php.net
[2005-02-01 22:05 UTC] shimi at shimi dot net
[2005-02-01 22:39 UTC] sniper@php.net
[2005-02-01 22:49 UTC] shimi at shimi dot net
[2005-02-02 00:29 UTC] iliaa@php.net