Bug #73636 [Opn->Fbk]: imagepng quietly produces jumbled output
| From: | cmb@php.net | Date: | Thu, 01 Dec 2016 18:08:38 +0000 |
| Subject: | Bug #73636 [Opn->Fbk]: imagepng quietly produces jumbled output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205724@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73636&edit=1
ID: 73636
Updated by: cmb@php.net
Reported by: jindra12 dot underdark at gmail dot com
Summary: imagepng quietly produces jumbled output
-Status: Open
+Status: Feedback
Type: Bug
Package: GD related
Operating System: Linux Mint
PHP Version: 7.1.0RC6
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
We *need* such an image to be able to reproduce the issue. Note that you can't attach images to
the bugtracker's tickets, but you'd rather have to post a link to some publicly available
site.
Previous Comments:
------------------------------------------------------------------------
[2016-12-01 17:58:09] jindra12 dot underdark at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.imagepng
---
When loaded through function imagecreatefrompng and immediately saved in imagepng, some images
produce jumbled results. These results can be replicated, however, when put through more functions
from gd library, bug dissapears. Would append the image, however, since it is not mine I'm not
sure.
Test script:
---------------
$image = imagecreatefrompng($_FILES["original_image"]["tmp_name"]);
imagepng($image, $filepath);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73636&edit=1