From:             [EMAIL PROTECTED]
Operating system: FreeBSD/Pentium III
PHP version:      4.3.0RC1
PHP Bug Type:     *Graphics related
Bug description:  exif_read_data can't read my jpeg comment

http://www.slowchildren.com/pictures/test.php

script =-=-=-=-=-=-=-=-=
<?
$exif = exif_read_data ('pictures/IMG_0454.JPG',0,true,false);
echo "IMG_0458.JPG:<br /><img src=thumb.php?file=pictures/IMG_0458.JPG
/><br />\n";
foreach($exif as $key=>$section) {
    foreach($section as $name=>$val) {
        echo "$key.$name: $val<br />\n";
    }
}
?>
/script =-=-=-=-=-=-=-=-=

This script can't seem to find my JPEG comment.  Using jhead* or
GraphicCoverter* shows my jpeg comment just find.  Why doesn't it work in
php???

*http://www.sentex.net/~mwandel/jhead/
*http://lemkesoft.de/us_gcabout.html

Here's the image:
http://www.slowchildren.com/pictures/pictures/IMG_0454.JPG

Just in case:

 './configure' '--with-gd' '--without-msql' '--with-iodbc' '--with-curl'
'--with-png-dir=/usr/local/lib' '--with-mysql=/usr/local'
'--with-config-file-path=/usr/www/users/dant/scott/phpini'
'--enable-debug=no' '--enable-track-vars=yes' '--enable-ftp=yes'
'--enable-force-cgi-redirect=yes' '--enable-exif' '--enable-mbstring'
'--enable-magic-quotes' '--enable-bcmath' '--with-zlib-dir=/usr/local'


-- 
Edit bug report at http://bugs.php.net/?id=20560&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20560&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20560&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20560&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20560&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20560&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20560&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20560&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20560&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20560&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20560&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20560&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20560&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20560&r=isapi

Reply via email to