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.
convert color PDF to black and white TIFF
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: convert color PDF to black and white TIFF
Try using eitheror for a more automatic method
See Two Color Quantization in IM Examples....
http://www.imagemagick.org/Usage/quantize/#colors_two
Code: Select all
-threshold 50%
Code: Select all
+dither -colors 2 -colorspace Gray -normalize
http://www.imagemagick.org/Usage/quantize/#colors_two
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/