Bug #72772 [Opn->Fbk]: EXIF data not read from jpeg
| From: | kalle@php.net | Date: | Sun, 07 Aug 2016 03:38:02 +0000 |
| Subject: | Bug #72772 [Opn->Fbk]: EXIF data not read from jpeg | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203009@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72772&edit=1
ID: 72772
Updated by: kalle@php.net
Reported by: clive at indx dot co dot uk
Summary: EXIF data not read from jpeg
-Status: Open
+Status: Feedback
Type: Bug
Package: EXIF related
Operating System: Linux web25 4.4.10-20160518-1030
PHP Version: 5.6.24
Block user comment: N
Private report: N
New Comment:
Could you please confirm if this happens with the release of PHP 7.0.10 where a regression was
recently fixed? I don't think it was merged to 5.6, but it would great if you could confirm
that it works there
Previous Comments:
------------------------------------------------------------------------
[2016-08-06 23:07:58] clive at indx dot co dot uk
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 this bug report at https://bugs.php.net/bug.php?id=72772&edit=1