C-API: TIFF photometric interpretation

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
cs_rol
Posts: 22
Joined: 2007-01-16T04:40:08-07:00

C-API: TIFF photometric interpretation

Post by cs_rol »

Hi!

Is it possible to geht the photometric interpretation of a tiff image? I didn't find something related on the internet.

If i use "identify" the photometric interpretation is put out. Is there a possibility to access this information within a c-program?

thanks!
Last edited by cs_rol on 2009-03-16T05:20:24-07:00, edited 1 time in total.
cs_rol
Posts: 22
Joined: 2007-01-16T04:40:08-07:00

Post by cs_rol »

*push*
farmkittie

Re: C-API: TIFF photometric interpretation

Post by farmkittie »

What does *push* mean? (I'm referring to the previous post). I am also interested in the photometric tag. I am hoping that if I can check this/set this, that I can fix the problem I am having with images inverting (negative images resulting after processing wiuth Image::Magick). If this turns out to be the case, then it will mean that there is a "flag" in the TIFF file that causes the image to turn if the flag is set one way and not turn if the flag is set the other way. An on/off flag.

thanks.
Post Reply