Created
January 20, 2021 13:08
-
-
Save leveled/513b92f994b693fd8d6406c891ed2369 to your computer and use it in GitHub Desktop.
Converting a PDF to a PNG on Linux
This file contains hidden or 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
| sudo apt-get install poppler-utils | |
| pdftoppm -png document.pdf document | |
| #range of pages | |
| pdftoppm -png -f 5 -l 15 document.pdf document | |
| #change resolution | |
| pdftoppm -png -rx 300 -ry 300 document.pdf document |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment