Is there a way to find out if a PNG is the 8 or 24 type? Ive tried with windows, fireworks and photoshop but I cant figure this out. Thanks
Mostly, the numbers attached to the PNG term refer to the bit level supported by computers. Therefore, PNG 8 supports 8-bit colors while PNG 24 supports 24-bit colors. Take note, having a higher bit support doesn't imply that the file format is of higher quality than the lower bit support.
One of the easiest ways to know if you are working with an 8-bit image is to check the image's file format. If the image is a JPEG (with the extension “. jpg”), it will always be an 8-bit image. One of the advantages of working with 8-bit images is they are typically smaller in file size.
The PNG‑24 format supports 24‑bit color. Like the JPEG format, PNG‑24 preserves the subtle variations in brightness and hue found in photographs. Like the GIF and PNG‑8 formats, PNG‑24 preserves sharp details like those in line art, logos, or type.
Open it in Photoshop and check what's written on the top bar. If it says "index", then it has been saved as 8-bit PNG, if it says "RGB/8" then your PNG is a 32-bit one. Alternatively you can open Image/Mode menu and for an 8-bit one it would be "Indexed color", while for a 32-bit one - "RGB color".
Another really quick way to tell without opening the file is to see if there is any smooth gradient transparencies in the image. 8 bit pngs don't have transparent gradients - it's either fully opaque or fully transparent (nothing in between).
(For those who don't have Photoshop)
Howto identify bit depth for image files on Windows:
*Right click* image file > Properties > Details > Bit depth
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With