Bug #64739 [Opn->Fbk]: Invalid Title and Author data returned

From: Date: Fri, 07 Jul 2017 10:28:17 +0000
Subject: Bug #64739 [Opn->Fbk]: Invalid Title and Author data returned
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209894@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64739&edit=1 ID: 64739 Updated by: kalle@php.net Reported by: php-qa at sebastianmendel dot de Summary: Invalid Title and Author data returned -Status: Open +Status: Feedback Type: Bug Package: EXIF related Operating System: Linux PHP Version: 5.4.14 Block user comment: N Private report: N New Comment: Hi, could you please re-upload the image somewhere so I can use it for testing? Thanks Previous Comments: ------------------------------------------------------------------------ [2016-08-05 06:29:55] kalle@php.net @cweiske, you are right. This picture linked is stored in Motorola byte order which qualifies as big endian. This image has no makernote tag so I guess it was made from an editor (Paint.NET) and it also correctly identifies it as a motorola byte order in the COMPUTED section. Of all the data returned, it indeed seems to only be the title and author that is somehow corrupted. ------------------------------------------------------------------------ [2013-04-30 15:35:52] cweiske@php.net Reason is probably that the exif data were stored on a PowerPC Mac and have big endianess. ------------------------------------------------------------------------ [2013-04-30 07:06:21] php-qa at sebastianmendel dot de Description: ------------ exif_read_data returns invalid Titel and Author data. ExifTool cli returns valid data. Test script: --------------- php-5.4.14 -r "var_dump(exif_read_data('http://sebastianmendel.de/php/exif_segmentation_fault/test.jpg'));" Expected result: ---------------- .... ["Title"]=> string(8) "55845364" ["Author"]=> string(13) "100420.000000" .... Actual result: -------------- .... ["Title"]=> string(8) "????????" ["Author"]=> string(13) "?????????????" .... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64739&edit=1

« previous php.bugs (#209894) next »