shivasunki / PythonScripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF to Image

To run the script for converting PDF to image, type in terminal:

1. git clone https://github.com/shivasunki/PythonScripts.git
2. cd PythonScripts
3. python -m venv myenv (Install virtualenv if required, replace myenv with name of your wish)
4. pip install pillow pymupdf
5. python  pdf_to_image.py (Before running script please check the code and mention your pdffile name and output image file name & path )
6. Now you have your pdf converted into image with the name & path you have provided

Image(s) to PDF

1. git clone https://github.com/shivasunki/PythonScripts.git
2. cd PythonScripts
3. python -m venv myenv (Install virtualenv if required, replace myenv with name of your wish)
4. pip install pillow
5. python image_to_pdf.py (Please check code before running and make sure you provide the path of input image(s) and output pdf)

Thank You For Visiting!

About


Languages

Language:Python 100.0%