Question
Determine of a PNG image contains transparent pixels
Hi,
I'm exporting lots of PageItems to images using pageItem.export() method. I want the exported image to be a PNG if it contains transparent pixels, otherwise it should be a JPG.
So is there anyway to determine whether an exported PNG contains transparent pixels or not?
