bins - add more complex command for some weird images

This commit is contained in:
Felix Van der Jeugt 2016-01-18 20:32:52 +01:00
parent b87626499d
commit 62ed4c5afd

View File

@ -11,6 +11,8 @@ unzip "$input" | sed -n 's/.*extracting: \(.*\)/\1/p' > "$image_files"
# makeing them pdf's # makeing them pdf's
cat "$image_files" <(echo "-compress jpeg") <(echo "$output") | xargs convert 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 cat "$image_files" | xargs rm
rm "$image_files" rm "$image_files"