Page 1 of 1

convert color PDF to black and white TIFF

Posted: 2007-07-18T12:45:18-07:00
by oct
Hello there,

I am having difficulty preserving the text when I convert from a color PDF to a black and white TIFF. I also would like to keep the file size at a minimum.

I have tried the following commands:

convert in.pdf -density 300 -monochrome out.pdf > gives 1bpp but text is not preserved
convert in.pdf -density 300 -colorspace gray out.pdf > gives 8pp but text is a bit more readable

I would like to have a TIFF that is 1 bpp. Thanks in advance for your time and help.

Re: convert color PDF to black and white TIFF

Posted: 2007-08-09T18:39:50-07:00
by anthony
Try using either

Code: Select all

      -threshold 50%
or for a more automatic method

Code: Select all

      +dither  -colors 2  -colorspace Gray -normalize
See Two Color Quantization in IM Examples....
http://www.imagemagick.org/Usage/quantize/#colors_two