[libGD] #209 [Task opened] Certain PNG files corrupted on trivial export/import

[email protected] Mon, 29 Jun 2009 16:39:23 +0200 (CEST)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Daniel Norton (danorton2) 

Attached to Project - libGD
Summary - Certain PNG files corrupted on trivial export/import
Task Type - Bug Report
Category - Image Import/Export
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - High
Priority - Normal
Reported Version - 2.0.36RC1
Due in Version - Undecided
Due Date - Undecided
Details - The following PHP code corrupts a PNG image. I expect the image displayed to match the image when displayed directly from the URL. I have not been able to determine which PNG characteristics trigger the problem. I have attached a copy of the PNG.

<code><?php
header("Content-type: image/png");
imagepng(imagecreatefrompng("http://www.w3.org/Icons/Fuzzy/b-10-structure-t.png"));
?>
</code>
Incidentally, Imagick PHP exhibits this same problem.


More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=209

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.