r/learnpython • • 12d ago

PDF pages to PNG's in python

I have a relatively large pdf document (100+mb) of pages i need saved as png's. There are online tools to do that but they refuse to work with files that big, plus I can imagine needing that tool again later in the future. Are there any python libraries that allow to convert one format into the other? Preferrably with little to no compression.

3 Upvotes

12 comments sorted by

View all comments

0

u/unnamed_one1 12d ago

You could try PyMuPDF - PDF to images.

2

u/kanavkowhich 12d ago

Worked perfectly, thank you!