I assume I am following the documentation correctly but if you notice I am
doing something wrong, feel free to correct me.

I am trying to redact a field in a TIFF file. For a test, I created a TIFF
file, white.tif, which just contains "Text goes here." multiple times. To
redact the image, I am just trying to place a black rectangle over the first
phrase. I am able to redact TIFF files as long as I don't supply a TIFF file
as the output file. (i.e. JPEG, GIF)

At first I got an error about "Unknown pseudo-tag 65537. `TIFFSetField'."
when using convert. Doing research I found that I could fix this by using
the -compress option. I tried all compression options but this did not fix
the problem and I ended up with an invalid TIFF file. Mogrify comes up with
an invalid TIFF file too.

The following command is what I'm trying to run:
convert -verbose -fill black -draw "rectangle 15,15 210,45" white.tif
final.tif

Here's the version information:
identify -version
  Version: ImageMagick 6.2.8 06/30/06 Q16 http://www.imagemagick.org
  Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

I've attached the white.tif file in case anyone wants to try it out.

Thanks before hand for any who help,
Adam Neiman
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to