Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 45781
Status: open
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.41
Fixed in: (no value)



Subject: Copy / merge transparent looses palette?
Copying a palette-based image (with 3-4 colours) that has a transparent backgroud, using the merge* methods, seems to loose palette, and produces an image of a solid colour. Let me know if you would like a demo.
On Wed May 06 10:22:29 2009, LGODDARD wrote: Show quoted text
> Copying a palette-based image (with 3-4 colours) that has a transparent > backgroud, using the merge* methods, seems to loose palette, and > produces an image of a solid colour. > Let me know if you would like a demo.
Yes, please. -- Reini Urban
I found a fixed libgd bug at https://github.com/libgd/libgd/blob/master/tests/gdimagecopyresampled/bug00201.c with gdImageAlphaBlending and gdImageCopy vs the better gdImageCopyResampled. so upgrading libgd might help. -- Reini Urban
Looks like a libgd problem. No feedback -- Reini Urban
On 2017-11-14 11:06:24, RURBAN wrote: Show quoted text
> Looks like a libgd problem. No feedback
Thanks! I've not used the library for a while....
The root of this problem would be in libgd, not at the Perl layer. Have you tried updating your libgd version?