Code: Select all
blend->'0x20'
I want to read in an existing PNG image (which has transparency) and make the whole thing transparent.
I guess that it should be doable with $image->Colorize(fill=>\@transp_pixelpkt,blend=>string), but I cannot find information about the format for "string".
Searches of the forum and the imagemagick.org website for +blend +string turned up nothing.
Can someone please help?
Thank you.
(Note: It's possible that '0x20' would be interpreted as "0x00000020", hex with the first three '00' pairs associated with 'r,g,b' blend percentages respectively, and '20' referring to 'something or other' to do with 'alpha'.)