Created
March 15, 2017 16:46
-
-
Save rafapolo/9c32587740d31d3b6f945526b58b4dd2 to your computer and use it in GitHub Desktop.
convert, trim and jon pdf pages as single jpg image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert -density 220 in.pdf to_img_.jpg | |
mogrify -trim to_img_*.jpg | |
convert -append to_img_*.jpg out.jpg | |
rm to_img_* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment