How to tell an 8-bit indexed PNG from a 24 bit RGB PNG

Started by goofy166, March 08, 2018, 02:07:52 PM

Previous topic - Next topic

goofy166

Is there a way to use ExifTool from the command line to determine the bit depth of a PNG?
I am using Photoshop to do this and it seems to give me contradictory results. Specifically I am using the Photoshop File->File Info menu.

Thanks

Mitch

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

goofy166

Try running ExifTool on the file.

- Phil

HAHA very funny. It can't be that easy. Are you saying I just go C:>EXIFTOOL MYFILE.PNG

Mitch

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).