php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73636 imagepng quietly produces jumbled output
Submitted: 2016-12-01 17:58 UTC Modified: 2016-12-11 04:22 UTC
From: jindra12 dot underdark at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: GD related
PHP Version: 7.1.0RC6 OS: Linux Mint
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-12-01 17:58 UTC] 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);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-01 18:08 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-12-01 18:08 UTC] cmb@php.net
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.
 [2016-12-11 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 13:01:30 2024 UTC