My stomach churns when I see this kind of output.
http://www.freeimagehosting.net/uploads/e1097a5a10.jpg
and this was my command as suggested by Best way to convert pdf files to tiff files
gswin32c.exe -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=a.tif a.pdf -c quit
What am I doing wrong?
(commercial products will not be considered)
TIFF, Group 4 Compressed Bitmap. Description. A tag-based file format for storing and interchanging raster images; in this subtype, TIFF wraps a bitmap compressed using ITU_G4 (ITU-T T. 6.
tiffg4 is a black&white output device. You should use tiff24nc or tiff12nc as the output device colour PDFs - see ghostscript output devices. These will be uncompressed but you could put the resulting TIFFs through imagemagick or similar to resave as compressed TIFF.
I have been using ImageMagick for quite a sometime. It's very nice tool with a lot of features.
Install ImageMagick and run following command. This is what I used on Linux, you may have to replace convert
with the correct one.
Below command converts PDFs to CCITT Group 3 standard TIFs (Fax standard):
convert -define quantum:polarity=min-is-white \
-endian MSB \
-units PixelsPerInch \
-density 204x196 \
-monochrome \
-compress Fax \
-sample 1728 \
"input.pdf" "output.tif"
Also you may use GraphicsMagick, it is also similar to ImageMagick, but ImageMagick more concerns with quality than speed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With