diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-13 11:43:19 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-13 11:43:19 +0200 |
commit | 9949ce6fc51c37129c3b390a0715a8945cacc16a (patch) | |
tree | 88b6ca4a1b39dfaff41c6dd570c89b3d328861ca /img2pdf-a4paper | |
parent | ba38291a468363fe3267313b760ae0522616254b (diff) | |
download | bin-9949ce6fc51c37129c3b390a0715a8945cacc16a.tar.gz bin-9949ce6fc51c37129c3b390a0715a8945cacc16a.tar.xz |
add new scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'img2pdf-a4paper')
-rwxr-xr-x | img2pdf-a4paper | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/img2pdf-a4paper b/img2pdf-a4paper new file mode 100755 index 0000000..53ae267 --- /dev/null +++ b/img2pdf-a4paper @@ -0,0 +1,6 @@ +#!/bin/bash + +jpeg_quality=70 +jpeg_size=1500x1500 +time=$(date +%Y-%m-%d_%H%M%S) +convert "$@" -resize $jpeg_size -compress jpeg -quality $jpeg_quality -density 72x72 -repage 595x842 "${time}.pdf" |