Skip to content

osp/PDFutils

Folders and files

NameName
Last commit message
Last commit date
Sep 28, 2014
Sep 28, 2014
Jul 20, 2016
Aug 19, 2016
Sep 28, 2014
Sep 29, 2014
Apr 1, 2015
Sep 29, 2014
Sep 28, 2014
May 6, 2016
Apr 1, 2015
Aug 19, 2016

Repository files navigation

A fresh new repo for small PDF utilities.

#color_convert.sh + gray_to_spot.ps ./color_convert.sh black,cmyk,spot-PANTONE 705 U-0.9 0.1 0.5 0.1 input_layer1.pdf,input_layer2.pdf,input_layer3.pdf output.pdf This will convert each input PDF file to the corresponding color mode (black, cmyk or spot color), then combine the resulting files on top of each other. dependencies: pdftk (for multistamp) + Xpdf (for pdftops)

rgb2cmyk.sh

./rgb2cmyk.sh input.pdf

This will convert a PDF to input-cmyk.pdf

If you need overprint:

./rgb2cmyk.sh input.pdf overprint

This will convert a PDF to input-cmyk-op.pdf

colorSeparation.sh

./colorSeparation.sh input-cmyk.pdf

This makes black and white images of each CMYK plates and makes a small HTML page to preview the plates. It will output blank plates if your PDF is in RGB.

Web interface for coloured preview of each plate:

all cyan magenta yellow black

By zooming out, you can see several pages at the same time: ![](many pages]http://osp.constantvzw.org/api/osp.tools.PDFutils/628a1a1eb8067a46be8cc6d7680bb7fa2e7144f7/blob-data/many-pages.png)