From 62ed4c5afd727afecd7d84fa5f21f930f7d8c492 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 18 Jan 2016 20:32:52 +0100 Subject: [PATCH] bins - add more complex command for some weird images --- local/bin/manga_maker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local/bin/manga_maker b/local/bin/manga_maker index 0a32e06..92d901b 100755 --- a/local/bin/manga_maker +++ b/local/bin/manga_maker @@ -11,6 +11,8 @@ unzip "$input" | sed -n 's/.*extracting: \(.*\)/\1/p' > "$image_files" # makeing them pdf's cat "$image_files" <(echo "-compress jpeg") <(echo "$output") | xargs convert +# convert *.jpg -compress jpeg -resize 1240x1753 -units PixelsPerInch -density 150x150 -page a4 second.pdf + cat "$image_files" | xargs rm rm "$image_files"