nour-rouas / PDF2JPG

This Python script converts PDF files to JPG images using the pdf2image library and requires the Poppler utility for PDF to image conversion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF to JPG Converter

This Python script converts PDF files to JPG images using the pdf2image library. It utilizes the Poppler utility for PDF to image conversion.

Prerequisites

Before running the script, ensure that you have the following installed:

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/pdf-to-jpg-converter.git
    
  2. Navigate to the project directory:
    cd pdf-to-jpg-converter
    
  3. Install required Python packages:
    pip install -r requirements.txt
    

Usage

  1. Run the script:
     python pdf2jpg.py
    
  2. Follow the on-screen instructions to select a PDF file and specify the output path for the JPG image.

Notes

  • The script requires the Poppler utility to be installed. Make sure to set the correct path to Poppler in the script if necessary.
  • Customize the script as needed for your specific use case.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute this script according to the terms of the MIT License.

About

This Python script converts PDF files to JPG images using the pdf2image library and requires the Poppler utility for PDF to image conversion.

License:MIT License


Languages

Language:Python 100.0%