per your email request.. I still am getting the bug...  Need more config
information?

----  attributes of image file  ----

-rwxrwxrwx 1 root root 2839434 Mar 31  2013 IMG_4741.JPG*


----  source php script  ----

<?php
$file='IMG_4741.JPG';
$image = exif_thumbnail($file, $width, $height, $type);
echo "length is :" . strlen($image);
?>


----  output of running the script  ----


php phpBug.php

PHP Warning:  exif_thumbnail(IMG_4741.JPG): IFD data bad offset: 0xFFFFFCF2 
length 0x0ED8 in /home/crberry/familyarchive/php/phpBug.php on line 3
length is :0

----

php -v

PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.15-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by 
Zend Technologies

----

uname -a

Linux crberry-ThinkPad-R50e 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3
15:27:09 UTC 2017 i686 i686 i686 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1617636

Title:
  php 7.08 exif thumbnail failing in 16.04 and earlier

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1617636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to