9 lines
211 B
Bash
9 lines
211 B
Bash
# From: https://stackoverflow.com/questions/30518547/cmyk-overprinting-and-knockout-in-ghostscript
|
|
|
|
bn=$(basename $1 ".pdf")
|
|
|
|
gs -dBATCH -dNOPAUSE -dSAFER \
|
|
-sDEVICE=tiffsep \
|
|
-sOutputFile=$bn.tif \
|
|
$1
|