Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pdfimages -all big.pdf . #poppler-utils
rename -v 's/^[^0-9]*//' .*.jpg
convert '*.jpg' -resize 50% %03d.jpeg #imagemagick
convert '*.jpeg' small.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment