Colour depth in bits-per-pixel
Posted: 2007-06-06T08:39:59-07:00
How can I determine the colour depth of an image in bits-per-pixel?
I expected it to be a no-brainer with a simple identify, but was wrong. For example, this is what an identify output of a 24-bpp JPEG looks like:
I expected it to be a no-brainer with a simple identify, but was wrong. For example, this is what an identify output of a 24-bpp JPEG looks like:
Notice the 8-bit (!) part. identify -verbose also refuses to list a nice and plain "24" anywhere... Am I overlooking something here?logo.jpg JPEG 640x480 640x480+0+0 DirectClass 8-bit 88.0859kb