Skip Menu |

This queue is for tickets about the Image-Resize CPAN distribution.

Report information
The Basics
Id: 88350
Status: new
Priority: 0/
Queue: Image-Resize

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

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



Subject: Losing alpha channel info on resize
As per GD docs - https://metacpan.org/module/GD#Alpha-channels - you should call $image->saveAlpha(1) and $image->alphaBlending(0) to preserve the alpha channel info. Calling these on an original image is not enough, but I tried added them into resize() method (line 52-53), and it fixes the issue.