Bug #79687 [Opn]: Sony picture - PHP Warning - Make, Model, MakerNotes

From: Date: Thu, 11 Jun 2020 09:39:24 +0000
Subject: Bug #79687 [Opn]: Sony picture - PHP Warning - Make, Model, MakerNotes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227417@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79687&edit=1 ID: 79687 User updated by: 7tonin at laposte dot net Reported by: 7tonin at laposte dot net Summary: Sony picture - PHP Warning - Make, Model, MakerNotes Status: Open Type: Bug Package: EXIF related Operating System: linux 5.6.14-desktop-2.mga7 x86 PHP Version: 7.3.18 Block user comment: N Private report: N New Comment: exif_read_data function is also impacted Previous Comments: ------------------------------------------------------------------------ [2020-06-11 09:34:05] 7tonin at laposte dot net 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 this bug report at https://bugs.php.net/bug.php?id=79687&edit=1

« previous php.bugs (#227417) next »