[libGD] #193 [Task opened] gdImagePng() puts a wrong image when no color was allocated
[email protected] Fri, 13 Mar 2009 20:48:26 +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 - Takeshi Abe (Takeshi)
Attached to Project - libGD
Summary - gdImagePng() puts a wrong image when no color was allocated
Task Type - Bug Report
Category - General
Status - New
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 2.0.36RC1
Due in Version - Undecided
Due Date - Undecided
Details - gdImagePng() puts the damaged image when no color was allocated:
<code>
#include <gd.h>
#include <stdio.h>
int main()
{
gdImagePtr im;
im = gdImageCreate(100, 100);
gdImagePng(im, stdout);
gdImageDestroy(im);
return 0;
}
</code>
I think the error message of libpng but no output may be adequate.
This is same as http://bugs.php.net/bug.php?id=45799
More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=193
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.