Photometric interpretation value with IM "Identify" command

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
buzzico

Photometric interpretation value with IM "Identify" command

Post by buzzico »

Hi,

Is there a way to get the photometric interpretation value for a 1bit tiff file with the IM "identify" command?
I need to know of if it is WhiteIsZero or BlackIsZero.

TiffInfo outputs this value.

Thanks,
Buzzico
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Photometric interpretation value with IM "Identify" command

Post by fmw42 »

just try

identify -verbose image.tif

and see if it is there
buzzico

Re: Photometric interpretation value with IM "Identify" command

Post by buzzico »

Tried but the value is not exposed.

Just found an old topics on the forum. Seams it is not possible.
Post Reply