Bug #72735 [Opn->Csd]: Samsung picture thumb not read (zero size)

From: Date: Wed, 03 Aug 2016 03:40:20 +0000
Subject: Bug #72735 [Opn->Csd]: Samsung picture thumb not read (zero size)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202849@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72735&edit=1 ID: 72735 Updated by: kalle@php.net Reported by: antonin dot roussel at laposte dot net Summary: Samsung picture thumb not read (zero size) -Status: Open +Status: Closed Type: Bug Package: EXIF related Operating System: Mageia5 PHP Version: 5.6.24 Block user comment: N Private report: N New Comment: Automatic comment on behalf of kalle Revision: http://git.php.net/?p=php-src.git;a=commit;h=406dff2a02ff1cfac89942ce5e991d88d3b6cb50 Log: Fixed bug #72735 (Samsung picture thumb not read (zero size)) Previous Comments: ------------------------------------------------------------------------ [2016-08-02 22:08:02] antonin dot roussel at laposte dot net Here are some sample files, and a test script. 'sam4068.jpg', // broken (it's coming from a friend) 'samsung.jpg', // * broken (minimized) 'dscn5460.jpg', // * ok (from my camera) 'nokia.jpg', // * ok (minimized) // * star means : have been processed by exiftool and convert https://www.dropbox.com/sh/ru4kwqsyt9fqd89/AACTpWWpBojkNuYGkFgsLWj2a?dl=0 ------------------------------------------------------------------------ [2016-08-02 16:07:07] kalle@php.net Any chance you can leave a link to the pictures here in case a developer decides to pick it up? ------------------------------------------------------------------------ [2016-08-02 14:33:07] antonin dot roussel at laposte dot net Description: ------------ Extracting thumbnail of pictures in a gallery is ok (for instance nikon camera pictures), but for Samsung ST72/ST73 camera pictures it's broken. The data return by exif_thumbnail php function has a zero strlentgh. To cross-check : command line exiftool sees exif preview and thumbnail data. So there is a problem. I can provide two sample pictures. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72735&edit=1

« previous php.bugs (#202849) next »