From:             shimi at shimi dot net
Operating system: Linux
PHP version:      4CVS-2005-02-01 (stable)
PHP Bug Type:     *Graphics related
Bug description:  exif_read_data reads very little data from what it used to 
read

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 bug report at http://bugs.php.net/?id=31797&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31797&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31797&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31797&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31797&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31797&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31797&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31797&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31797&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31797&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31797&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31797&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31797&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31797&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31797&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31797&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31797&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31797&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31797&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31797&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31797&r=mysqlcfg

Reply via email to