Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsudiro/pdf_merger_compressor
This program merge and compress PDF files
https://github.com/gsudiro/pdf_merger_compressor
merger pdf pdf-converter
Last synced: 17 days ago
JSON representation
This program merge and compress PDF files
- Host: GitHub
- URL: https://github.com/gsudiro/pdf_merger_compressor
- Owner: gsudiro
- License: gpl-3.0
- Created: 2024-10-17T18:17:50.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-13T18:33:57.000Z (about 1 month ago)
- Last Synced: 2024-12-13T19:27:35.539Z (about 1 month ago)
- Topics: merger, pdf, pdf-converter
- Language: HTML
- Homepage:
- Size: 149 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF Merger and Compressor
## Overview
This Python application provides a user-friendly graphical interface for merging multiple PDF files into a single document and compressing the resulting PDF to reduce file size. Built with `tkinter` for the GUI and `PyPDF2` for PDF operations, the program allows users to easily select their PDF files and perform the merging and compression in a responsive manner using multithreading.## Screenshot
![PDF Merger and Compressor Interface](./img/pdf_merger.png)## Features
- **Select Multiple PDFs**: Easily choose multiple PDF files from your local filesystem.
- **Merge PDFs**: Combine selected PDFs into one merged PDF document.
- **Compress Output**: Generate a compressed version of the merged PDF using Ghostscript.
- **Cross-Platform**: Works on Windows, Linux, and macOS (with Ghostscript installed).## Requirements
- Python 3.x
- `PyPDF2`: For PDF merging functionalities.
- Ghostscript: Required for PDF compression (must be installed separately).
- `tkinter`: Included with standard Python installations for creating the GUI.## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/pdf-merger-compressor.git
```
2. Create the virtual environemnt folder
```bash
python3 -m venv .venv
```
3. Activate the environment ('deactivate' to exit)
```bash
source .venv/Scripts/activate
```
4. Install the required libraries
```bash
pip install -r requirements.txt
```
5. Run the application using:
```bash
python pdfMerger.py
```