Edit report at https://bugs.php.net/bug.php?id=72404&edit=1
ID: 72404
Updated by: cmb@php.net
Reported by: opajaap at opajaap dot nl
Summary: imagecreatefromjpeg fails on selfie
-Status: Assigned
+Status: Closed
Type: Bug
Package: GD related
Operating System: SunOS localhost 5.10 Generic_142
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Merged.
Previous Comments:
------------------------------------------------------------------------
[2016-07-03 06:03:19] pajoye@php.net
Go ahead and merge it :)
------------------------------------------------------------------------
[2016-06-15 12:04:31] cmb@php.net
I've submitted a respective PR:
<https://github.com/php/php-src/pull/1945>.
------------------------------------------------------------------------
[2016-06-15 11:05:29] pajoye@php.net
Go ahead for 7.1+
------------------------------------------------------------------------
[2016-06-15 09:57:51] cmb@php.net
Fine, and thanks for the quick feedback.
@pierre Wouldn't it make sense to ignore those warnings by
*default* (i.e. gd.jpeg_ignore_warning=1)? As I understand it,
that is the default in libgd, see
<https://github.com/libgd/libgd/blob/gd-2.2.1/src/gd_jpeg.c#L413-L416>.
------------------------------------------------------------------------
[2016-06-15 09:13:02] opajaap at opajaap dot nl
Thank you.
ini_set( 'gd.jpeg_ignore_warning', true );
is an acceptable workaround.
Orientation is not a problem, I can handle exif and orientations.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=72404
--
Edit this bug report at https://bugs.php.net/bug.php?id=72404&edit=1