[libGD] #233 [Task opened] bug in gdImageCreateFromPngCtx, don't process alpha channel

[email protected] Fri, 12 Nov 2010 08:02:23 +0100 (CET)
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 - tzzhwj (tzzhwj) 

Attached to Project - libGD
Summary - bug in gdImageCreateFromPngCtx, don't process alpha channel
Task Type - Bug Report
Category - Image Import/Export
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Normal
Reported Version - 2.0.35
Due in Version - Undecided
Due Date - Undecided
Details -   There is a bug about gdImageCreateFromPngCtx in file gd_png.c. There is lack of "im->saveAlphaFlag = 1" at "case: PNG_COLOR_TYPE_RGB_ALPHA" in file gd_png.c line 300.
  
  This bug make a terrible situation. I read a png image to gdImagePtr, and then write gdImagePtr to anthor file, however, the two file is different. The reason is the alpha channel haven't been processed

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

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.