Bug #72772 [NEW]: EXIF data not read from jpeg
| From: | clive at indx dot co dot uk | Date: | Sat, 06 Aug 2016 23:08:03 +0000 |
| Subject: | Bug #72772 [NEW]: EXIF data not read from jpeg | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-203006@lists.php.net to get a copy of this message | ||
From: clive at indx dot co dot uk
Operating system: Linux web25 4.4.10-20160518-1030
PHP version: 5.6.24
Package: EXIF related
Bug Type: Bug
Bug description:EXIF data not read from jpeg
Description:
------------
Linux web25 4.4.10-20160518-1030-f317965 #1 SMP Wed May 18 10:33:23 UTC
2016 x86_64
phpinfo() output attached.
using "exif_read_data('file')" fails to read data from jpeg files.
Code has worked in previous versions.
Also checked image online at http://exifdata.com/exif.php, shows EXIF
data without issues.
Test script:
---------------
<?php
$exif = exif_read_data( './2014-09-23-5981.jpg' ) ;
foreach ($exif as $mykey => $mysection) {
foreach ($mysection as $myname => $myval) {
echo "$mykey.$myname: $myval<br />\n";
}
}
?>
archive of example file and .jpeg here:
http://www.indx.co.uk/phpexif.zip
Expected result:
----------------
Expected entire EXIF data, just got "COMPUTED" outputs.
--
Edit bug report at https://bugs.php.net/bug.php?id=72772&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72772&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72772&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72772&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72772&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72772&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72772&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72772&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72772&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72772&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72772&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72772&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72772&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72772&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72772&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72772&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72772&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72772&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72772&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72772&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72772&r=mysqlcfg