Change of photometric value
Posted: 2008-06-02T23:29:49-07:00
Good day!
I have a question concerning the Photometric values in TIFF images.
I would like to convert the compression of my image from "Deflate" to "LZW". I am doing this via your perl interface with these few steps:
1. Read Image
2. Set(compression=>"LZW");
3. Saving Image
The problem that occured is a change in the photometric value. Originally the value has been "minIsWhite" which is now "minIsBlack" thus inverting the colors of the image. I am using a 256 color gray-scale TIF.
Any ideas on how I can set the photometric value or leave the original value untouched?
Thanks and cheers for the great app!
-Basti
I have a question concerning the Photometric values in TIFF images.
I would like to convert the compression of my image from "Deflate" to "LZW". I am doing this via your perl interface with these few steps:
1. Read Image
2. Set(compression=>"LZW");
3. Saving Image
The problem that occured is a change in the photometric value. Originally the value has been "minIsWhite" which is now "minIsBlack" thus inverting the colors of the image. I am using a 256 color gray-scale TIF.
Any ideas on how I can set the photometric value or leave the original value untouched?
Thanks and cheers for the great app!
-Basti