summaryrefslogtreecommitdiffstats
path: root/normalize-pdf
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-06-12 10:38:31 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-06-12 10:38:31 +0200
commit533ddd148ff9bf8d61bd26c5ef65c31514fe7bdd (patch)
tree5a58d9927a7b2df707a68a617b73b7cc84c68cfd /normalize-pdf
parentfc32ea69f12b853ae4c4aecfd4b59aa62f9d73b7 (diff)
downloadbin-533ddd148ff9bf8d61bd26c5ef65c31514fe7bdd.tar.gz
bin-533ddd148ff9bf8d61bd26c5ef65c31514fe7bdd.tar.xz
add normalize-pdf
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'normalize-pdf')
-rwxr-xr-xnormalize-pdf3
1 files changed, 3 insertions, 0 deletions
diff --git a/normalize-pdf b/normalize-pdf
new file mode 100755
index 0000000..0c873ef
--- /dev/null
+++ b/normalize-pdf
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+convert -density 300 "$1" -normalize -compress jpeg -quality 75 "${1%.pdf}_normalized.pdf"