Skip to content

Instantly share code, notes, and snippets.

@JulianaGuama
Created May 15, 2019 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulianaGuama/8a3f84f1edcae4f3174a749383bc5fbf to your computer and use it in GitHub Desktop.
Save JulianaGuama/8a3f84f1edcae4f3174a749383bc5fbf to your computer and use it in GitHub Desktop.
Como transformar pdf em jpg com Python
from pdf2jpg import pdf2jpg
fileInput = r'C:/Users/your-user/fileLocal/file.png'
fileOutput = r'C:/Users/your-user/fileLocal/file.jpg'
image = pdf2jpg.convert_pdf2jpg(fileInput, fileOutput, pages="ALL")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment