8 Replies Latest reply: Dec 28, 2012 6:15 AM by Hoang_Huynh RSS

    Determine of a PNG image contains transparent pixels




      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?