Bug #79687 [NEW]: Sony picture - PHP Warning - Make, Model, MakerNotes
| From: | antonin dot roussel at laposte dot net | Date: | Thu, 11 Jun 2020 09:34:05 +0000 |
| Subject: | Bug #79687 [NEW]: Sony picture - PHP Warning - Make, Model, MakerNotes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-227416@lists.php.net to get a copy of this message | ||
From: antonin dot roussel at laposte dot net
Operating system: linux 5.6.14-desktop-2.mga7 x86
PHP version: 7.3.18
Package: EXIF related
Bug Type: Bug
Bug description:Sony picture - PHP Warning - Make, Model, MakerNotes
Description:
------------
The thumbnail of a SONY picture can not be loaded with exif_thumbnail
function.
PHP Warning: exif_thumbnail(image.jpg): IFD data too short: 0x000C
offset 0x000C
IFD0.Make : SONY
IFD0.Model : DSC-W55
EXIF.MakerNote (not seen) : SONY DSC
But, by changing the Exif:make tag value from SONY to Sony, or to SYNO,
or even almost whatever else, the thumbnail is loaded.
Switching from "SONY" to "Sony" value for Exif:make tag changes the way
PHP see the Exif sections.
This topic from exiftool.org forum gives details about struggle around
this problem.
https://exiftool.org/forum/index.php?topic=11303.0
--
Edit bug report at https://bugs.php.net/bug.php?id=79687&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79687&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79687&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79687&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79687&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79687&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79687&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79687&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79687&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79687&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79687&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79687&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79687&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79687&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79687&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79687&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79687&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79687&r=mysqlcfg