Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Resizing images with transparent background?by Anonymous Monk |
on Oct 13, 2010 at 21:00 UTC ( [id://865158]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello fellow Monks,
I'm using Image::Resize to resize images to fit. It works great unless the image has transparencies (usually gif or png). The result is that the transparent pixels are black. And that is not good. White I can work with, but black no no. My code is basic:
So my question is... what can I do about this black transparencies problem? Can Image::Resize handle something like this? I don't mind using a different module. Any idea?
Back to
Seekers of Perl Wisdom
|
|