开发者

Is there an equivalent to imagecolorset for GD from PHP in Perl?

开发者 https://www.devze.com 2023-03-22 03:42 出处:网络
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 t

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消