-
PDF Compression: Compress PDFs to the nearest possible size using smart image-based processing.
-
Image Compression: Control quality during image compression using binary search.
-
User Interface: Lightweight, fast, and easy to use UI.
-
File Download: Download compressed files with the original name appended with
-compressed. -
Clean UI: Streamlit's branding with a hidden menu (local or custom-hosted).
- Python: 3.8+
- Streamlit
- Pillow (PIL): For image processing
- fpdf: For reconstructing compressed PDFs
- pdf2image: To convert PDF pages into images
- Clone the repository:
git clone https://github.com/SushilJadhav04/file-compressor-app.git2.Navigate to the project directory:
cd file-compressor-app3.Install the required packages:
pip install -r requirements.txtTo run the application, use the following command:
streamlit run app.pystreamlit run app.pySnapshot
