Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert a searchable PDF to an image only PDF using imagemagick
#!/bin/bash
convert -density 300 $1 /tmp/page_%04d.jpg
convert /tmp/page_*.jpg $2
rm /tmp/page_*.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.