Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:pdf:tiff_workflow [2008/01/18 13:21] – billh | docs:pdf:tiff_workflow [2014/03/03 11:29] (current) – [convert pdf to tif] billh | ||
---|---|---|---|
Line 11: | Line 11: | ||
* units should be given, or else the file units will be undefined, and programs such as GraphicConverter will make the file 72dpi, which will cause conversion problems | * units should be given, or else the file units will be undefined, and programs such as GraphicConverter will make the file 72dpi, which will cause conversion problems | ||
* page defines the canvas size, and will crop the image as necessary | * page defines the canvas size, and will crop the image as necessary | ||
- | * example:< | + | * examples:< |
+ | # full color example | ||
convert -density 150 -units PixelsPerInch -page letter SN-085.pdf SN-085.tif | convert -density 150 -units PixelsPerInch -page letter SN-085.pdf SN-085.tif | ||
+ | |||
+ | # monochrome, small size, similar to multi page tiff (fax) sheets | ||
+ | convert -density 300 -units PixelsPerInch -page letter -monochrome -compress Group4 SN-085.pdf SN-085.tif | ||
+ | |||
+ | # convert color pdf from Illustrator to small grayscale 8 bit tif w/small file size, adjusting contrast to make it darker | ||
+ | convert.exe -density 200 -units PixelsPerInch -page letter -colorspace gray -compress lzw -alpha off -depth 8 -contrast-stretch .15%x60% input.pdf output.tif | ||
</ | </ | ||
Line 23: | Line 30: | ||
gs -q -dNOPAUSE -sDEVICE=tiff24nc -r150 -sPAPERSIZE=letter -sOutputFile=a.tif a.pdf -c quit | gs -q -dNOPAUSE -sDEVICE=tiff24nc -r150 -sPAPERSIZE=letter -sOutputFile=a.tif a.pdf -c quit | ||
</ | </ | ||
- | |||
===== split multi-page tiff into individual files ===== | ===== split multi-page tiff into individual files ===== | ||
* requires libtiff | * requires libtiff |