Python 3+
pyMuPDF
pip install pyMuPDF
- command line argument :
python pdf2img.py main.pdf
- general python program :
It will ask for user input : you can give the file name with extention (i.e, mydoc.pdf ) [pdf must be in the same directory as of the script] or you can also give absolute path of the pdf.
python pdf2img.py
Each page will be converted into PNG image in a subfolder Converted_img
- fork the repository
- clone the repository
- start hacking XD