python3 pdf2image

https://github.com/Belval/pdf2image

A python (3.5+) module that wraps pdftoppm and pdftocairo to convert PDF to a PIL Image object

How to install
pip install pdf2image

 

Windows
Windows users will have to install poppler for Windows, then add the bin/ folder to PATH.

http://blog.alivate.com.au/poppler-windows/

 

Mac
Mac users will have to install poppler for Mac.

Linux
Most 

你可能感兴趣的:(python,pdf2image,pdf,图片)