Bug #72404 [Asn->Csd]: imagecreatefromjpeg fails on selfie

From: Date: Sun, 03 Jul 2016 10:47:01 +0000
Subject: Bug #72404 [Asn->Csd]: imagecreatefromjpeg fails on selfie
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202014@lists.php.net to get a copy of this message
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


Thread (1 message)

  • cmb@php.net
  • Unknown Message
    • cmb@php.net
« previous php.bugs (#202014) next »