Page 1 of 1

Change Photometric value

Posted: 2016-05-31T01:01:23-07:00
by Suganya
Hi,

I have a multi-page TIFF image. The photometric value of the first page is 2 and the second page is 1. How do i set the photometric value for all the pages to 1? Imagemagik is used as a part of our Java code.

Thanks!

Re: Change Photometric value

Posted: 2016-05-31T02:04:35-07:00
by snibgo
TIFF documentation http://www.awaresystems.be/imaging/tiff ... ation.html says 1 is for grayscale, and 2 is for RGB. In both cases, zero is black.

If you want to change your images to grayscale, "-colorspace gray" will do that.