Skip to content

Instantly share code, notes, and snippets.

@bancek
Created February 11, 2013 20:17
Show Gist options
  • Save bancek/4757246 to your computer and use it in GitHub Desktop.
Save bancek/4757246 to your computer and use it in GitHub Desktop.
JPGs to PDF
convert -resize 2048x2896 -density 300 -page A4 $(ls -rt *.jpg | sort) -compress jpeg -quality 90 -extent 2048x2896 output.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment