Tools for generating the Volumetric Regimes book https://volumetricregimes.xyz/ (wiki-to-print, using Paged.js)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
277 B
15 lines
277 B
2 years ago
|
#! /bin/bash
|
||
|
|
||
|
# CONVERTS RGB PDF TO CMYK PDF PRESERVING TRUE BLACK FOR VECTORS
|
||
|
|
||
|
# USAGE:
|
||
|
# ./rgb2cmyk.sh input.pdf
|
||
|
|
||
|
# OUTPUT:
|
||
|
# input-cmyk.pdf
|
||
|
|
||
|
bn=$(basename $1 ".pdf")
|
||
|
|
||
|
gs -q -sDEVICE=pdfwrite -o ${bn}-CMYK.pdf -sColorConversionStrategy=CMYK -sSourceObjectICC=control.txt $1
|
||
|
|