I have a transparent PNG image representing a bluetooth icon with a blue glow, exported from photoshop:
In PHP code, given an .png image path, I need to detect the bit-depth of that image. How can I do that?
I\'m working on an application 开发者_C百科that prints a folder of image files, including JPEG and TIFF.The TIFF images are usually Black and White (1bpp).