I'm mostly using Pillow library but I can use something else. I can extract the color layer including the alpha one. I'm wondering if there is a way to quickly define if a picture use transparency or not.
pic = Image.open(path)
red, green, blue, alpha = pic.split()
Is there a way to see if the alpha is really used or only available because the format support it (e.g.: PNG)