Q:
I need something that will convert PDFs to one-channel tiffs – each colour separately (1 page pdf becomes four grayscale tiffs, magenta, cyan, black, yellow). And I would like it to be just a folder that I can drag the PDFs to and then it does its job and saves the TIFFs in another folder.
A:
Here’s how to do so on Windows:
-
Install pdf2image (http://www.pdftron.com/pdf2image/downloads.html) and ImageMagick (http://www.imagemagick.org/download/).
-
Create three directories: “input”, “output_cmyk”, and “output_sep”.
-
Dump your PDFs into the “input” directory.
-
Run the following commands from a DOS window:
pdf2image --cmyk -f tif -o output_cmyk input/*.pdf
for %f in (output_cmyk*.tif) do (convert %f -colorspace CMYK -separate output_sep%~nf_%d.tif)
Now, your “output_cmyk” directory will contain the four-channel TIFFs, and the “output_sep” directory will contain the separated one-channel TIFFs.