Page 1 of 1

Problem with photometric interpretation modification

Posted: 2013-02-25T04:36:20-07:00
by antoine.lamaison
Hi,

I would like to modify the tiff format of an image and change the photometric-interpretation of an image.
My image polarity is 'min-is-black' and I want to change it to 'min-is-white' with this command line

Code: Select all

convert source.tif -define tiff:quantum:polarity=min-is-white dest.tif
The command line doesn't trigger any error, but when I type :

Code: Select all

identify -verbose dest.tif
the tiff:photometric is still set to 'min-is-black'

How can I change this parameter ?

Re: Problem with photometric interpretation modification

Posted: 2013-02-25T04:53:59-07:00
by magick
Remove the tiff: and just use quantum:polarity=min-is-white.

Re: Problem with photometric interpretation modification

Posted: 2013-02-26T00:36:35-07:00
by antoine.lamaison
It works, Thanks !

Re: Problem with photometric interpretation modification

Posted: 2013-02-26T22:00:05-07:00
by anthony
Updated the command line options page for "-define" in both IMv6 and IMv7

Hmmm the option "-distribute-cache" appears to have been added to IMv6 but not to IMv7!!!