Today I’ve been able to properly convert a tiff file to pdf and
then back to tiffg3. The commands are:
$ convert -page A4 -density 600 -quality 100 -compress Zip file.tiff file.pdf
It is important to set the pagesize here, otherwise GhostScript wont resize it properly.
$ gs -q -dBATCH -dNOPAUSE -dSAFER \
-sPAPERSIZE=a4 -dNOPAGEPROMPT \
-dFIXEDMEDIA -sDEVICE=tiffg3 \
-r204x196 -sDithering=gsmono -dPDFFitPage \
-sOutputFile=file-g3.tiff file.pdf
Important here also the -dPDFFitPage switch.
Comments are closed, but trackbacks and pingbacks are open.