sgibone-resume/bw.sh
2023-02-27 22:34:26 +01:00

13 lines
315 B
Bash

#!/bin/bash
# this script is just a gs command to make a black and white version
# of my resume
# USAGE bw.sh <file>
gs -sOutputFile=output.pdf \
-sDEVICE=pdfwrite \
-sColorConversionStrategy=Gray \
-dProcessColorModel=/DeviceGray \
-dCompatibilityLevel=1.4 \
-dNOPAUSE \
-dBATCH \
$1