Skip to content

SushilJadhav04/Compressor_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • 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).


Tech Stack

  • Python: 3.8+
  • Streamlit
  • Pillow (PIL): For image processing
  • fpdf: For reconstructing compressed PDFs
  • pdf2image: To convert PDF pages into images

Installation

  1. Clone the repository:
   git clone https://github.com/SushilJadhav04/file-compressor-app.git

2.Navigate to the project directory:

cd file-compressor-app

3.Install the required packages:

pip install -r requirements.txt

Run the App

To run the application, use the following command:

streamlit run app.py

Run the App

streamlit run app.py

Snapshot

image

About

Image & PDF Compressor is a lightweight, fast, and user-friendly web app built with Streamlit that allows users to compress images (JPG, JPEG, PNG) and PDF files to a target file size (in KB).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages