Skip to content

Instantly share code, notes, and snippets.

@csabapalfi
Last active February 1, 2016 05:49
Show Gist options
  • Save csabapalfi/a389dff6654eea6396bc to your computer and use it in GitHub Desktop.
Save csabapalfi/a389dff6654eea6396bc to your computer and use it in GitHub Desktop.
Get pngs from a multipage pdf
# get pdftk from here: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.6-setup.pkg
pdftk dashboard_UX_v3.graffle.pdf burst
# sips is built in to OSX
ls *.pdf | xargs -I '{}' sips -s format png '{}' --out '{}'.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment