check if an image has transparency
Posted: 2011-04-21T10:15:04-07:00
Hi everyone,
I would like to check if an image as transparency or not in order to convert them to jpeg.
I didn't found much about that and the only answers I got was to check the alpha channel.
That worked but sometimes png files has no transparency and the alpha channel still at 1.
I was wondering if it was a better way to find if an image has transparency or not ?
Thanks you !
I would like to check if an image as transparency or not in order to convert them to jpeg.
I didn't found much about that and the only answers I got was to check the alpha channel.
That worked but sometimes png files has no transparency and the alpha channel still at 1.
I was wondering if it was a better way to find if an image has transparency or not ?
Thanks you !