[gs-devel] Default resolution not properly calculated for raster
pdf files
Barry
barry at polisource.com
Fri Oct 19 11:14:48 PDT 2007
I use this command to convert a pdf to tiff files:
gswin32c -sOutputFile=PCIE-Report-%03d.tif -r150 -sDEVICE=tiff32nc -dBATCH
-dNOPAUSE "document.pdf"
But the 150 resolution that's specified in the command is arbitrary. I
don't know if it's lower or higher than necessary for the best quality
conversion. If I leave out the resolution setting, the resolution is much
lower than in the pdf file (the pdf file consists of images of text - it's
a raster PDF, not vector). The pdf file is a local copy of:
http://democrats.science.house.gov/Media/File/Reports/PCIE%20Report%20on%20NASA%20IG.pdf
When resolution isn't specified in a command that converts a raster pdf
then the pdf's resolution should be used. If that resolution can be
determined at the command prompt, I'd like to know how so I can set the
resolution to the same rather than use the arbitrary resolution of 150.
I posted more detail on this at:
http://studio.imagemagick.org/magick/viewtopic.php?f=1&t=9941
More information about the gs-devel
mailing list