Quantcast
Channel: GhostScript – Ephesoft Docs
Viewing all articles
Browse latest Browse all 23

Ghostscript – PDF to Tiff Conversion

$
0
0

Purpose

Used to convert PDF files to single page TIFF files to learn and test images.

Running Ghostscript from command line

1. Navigate to the the Ephesoft\dependencies\gs\bin (if the system is 32 bit navigate to Ephesoft\dependencies\gs32bit\bin)

2. Determine which version of Ghostscript you would like use gswin64 or gswin64c (gswin32 or gswin32c if running a on a 32bit system)

3. Open command prompt as administrator and use the following command:

Ephesoft\Dependencies\gs\bin\gswin64c.exe -dNOPAUSE -r300 -sDEVICE=tiffscaled24 -sCompression=lzw -dBATCH -sOutputFile= \folder\to\output-04%d.tif \folder\to\input.pdf>result.txt

EXAMPLE

Ghostpdftotifcmd.png

Make sure to specify the location you want to output the TIF files and the location of the PDF you wish to convert.

4. Once the command line is run the files will be outputted to the folder specified for output.

EXAMPLE

Ghostpdftotifoutput.png

Your files are now ready to be used for Learning and testing.





Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>