Page 1 of 1

TIFF Color Inversion

Posted: 2008-06-10T13:31:54-07:00
by lillockey
Hello,

I am attempting to add a dcn to an image after it is created. Naturally, ImageMagick seems the way to go. However, there are a few problems I am having with this process.

The original image is a single page TIFF that has a white background and black text.
-After conversion, it is suddenly has a black background and white text.
-Also, it is suddenly 190x bigger than the original. The smallest I could find how to get it was with group4 compression (only 10x the original size :( ), but that still isn't nearly as small as the original. I'd like to get it down as close as possible to the original size (10-12k would be acceptable).

Below is a link the to zip file containing the images along with a batch file (windows) that contains the arguments as I used them. Please let me know what I can do to improve the situation. Here are those arguments:
050208010001.TIF -monochrome -gravity SouthWest -splice 0x80 -fill black -background white -font "Courier-New" -pointsize 45 -draw "text 20,20 '050208010001'" 050208010001_POST.tif

http://www.fileden.com/files/2008/6/10/ ... ge_dcn.zip

Re: TIFF Color Inversion

Posted: 2008-06-10T14:03:39-07:00
by fmw42
I am no expert on TIFF, except to know there are a lot of variations. But you can search these archives for similar questions and answers. For example, see

viewtopic.php?f=7&t=11374&start=0&st=0& ... hilit=tiff

Re: TIFF Color Inversion

Posted: 2008-06-11T07:01:28-07:00
by lillockey
fmw42 wrote:I am no expert on TIFF, except to know there are a lot of variations. But you can search these archives for similar questions and answers. For example, see

viewtopic.php?f=7&t=11374&start=0&st=0& ... hilit=tiff
I thank you for your help. Adding the argument "-define quantum:polarity=min-is-white" fixed the color inversion issue. I will do a further search and see if I can find anything on compression.