A simple Flask-based web application that allows users to:
- ✅ Convert PDF → Images (JPG / JPEG / PNG)
- ✅ Convert Images → PDF
- ✅ Preview converted images
- ✅ Download single images
- ✅ Download generated PDFs
- ✅ Search files and folders from the dashboard
This project is lightweight, beginner-friendly, and suitable for local or LAN usage.
- Upload one or multiple PDF files
- Convert each page to images
- Choose output format (JPG / JPEG / PNG)
- Automatically creates folders per PDF
- Preview images page by page
- Download individual images
- Upload multiple images
- Set custom PDF name
- Generates a single PDF
- Click on PDF to download from dashboard
- View all converted files
- Clickable folders and files
- 🔍 Search system (real-time)
- Clean and simple UI
- Backend: Flask (Python)
- PDF Processing: PyMuPDF (fitz)
- Image Processing: Pillow
- PDF Creation: ReportLab
- Frontend: HTML, CSS, JavaScript
pdf-image-converter/
├── app.py
├── requirements.txt
├── LICENSE.md
├── README.md
│
├── data/
│ └── usage.json
│
├── uploads/
│ ├── pdfs/
│ └── images/
│
├── output/
│ ├── pdf_to_images/
│ └── images_to_pdf/
│
├── static/
│ ├── css/
│ │ └── style.css
│ └── js/
│ ├── main.js
│ └── dashboard.js
│
└── templates/
├── home.html
└── dashboard.html
└── pdf_to_image.html
└── image_to_pdf.html
└── preview.html
└── image_view.htmlgit clone https://github.com/rezuwan19/pdf2image.git
cd pdf2imagepython -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windowspip install -r requirements.txt
python app.pyhttp://localhost:5000