Is there an equivalent to imagecolorset for GD from PHP in Perl?
I have a transparent image and I would like to change it's color. In PHP this was done by using ima开发者_C百科gecolorset but I have read through CPAN's doc on GD and I am unable to comprehend how to do it in Perl. (Using fill does not preserve the transparency)
Thank you. :)
The nearest equivalent would seem to be colorAllocate
.
精彩评论