Setting PNG output to 24-bit color
Posted: 2012-10-19T15:38:52-07:00
Hello all:
I have been looking around, and not really finding the right answer yet.
I have PNG's that are being dynamically created every hour, and they are coming out as 64-bit PNG's.
They do have transparencies in them, as part of the image creation, right now I do not need the transparencies in the final output of image (though maybe in the future).
So I want to output the final composition as a 24-bit PNG. Or as a 32-bit PNG (24-bit plus 8-bit alpha) for future use.
Any help in how to output in these formats using Perl would be greatly appreciated.
Thanks!
John
I have been looking around, and not really finding the right answer yet.
I have PNG's that are being dynamically created every hour, and they are coming out as 64-bit PNG's.
They do have transparencies in them, as part of the image creation, right now I do not need the transparencies in the final output of image (though maybe in the future).
So I want to output the final composition as a 24-bit PNG. Or as a 32-bit PNG (24-bit plus 8-bit alpha) for future use.
Any help in how to output in these formats using Perl would be greatly appreciated.
Thanks!
John