A modern, feature-rich GUI application for intelligent image compression with real-time preview and batch processing capabilities.
- Intuitive Quality Slider - Adjust compression quality from 1-100%
- Quick Presets - One-click quality presets (Low, Medium, High, Best)
- Real-time Preview - See compression results instantly as you adjust settings
- Input Formats: JPEG, PNG, WebP, BMP, TIFF, HEIC/HEIF
- Output Formats: JPEG, PNG, WebP (with format conversion)
- Smart Handling - Automatic format detection and optimization
- Multi-file Compression - Process hundreds of images at once
- Parallel Processing - Utilizes multiple CPU cores for speed
- Progress Tracking - Real-time progress with cancellation support
- Maximum Dimensions - Set max width/height constraints
- Aspect Ratio - Maintain or ignore original proportions
- Smart Scaling - High-quality Lanczos resampling
- Lossless Compression - Zero quality loss for PNG and WebP formats
- Progressive JPEG - Create progressive-loading JPEGs
- PNG Optimization - Enhanced PNG compression
- Metadata Control - Option to preserve or strip EXIF data
- Dark/Light Theme - Toggle between themes with one click
- Side-by-side Preview - Compare original vs compressed
- Detailed Statistics - File size, dimensions, and savings displayed
- Python 3.8 or higher
- pip (Python package manager)
-
Clone the repository
git clone https://github.com/yourusername/InteliComp.git cd InteliComp -
Create a virtual environment (recommended)
python -m venv venv # On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Run the application
python run.py
- Click "Add Files" or "Add Folder" to load images
- Select an image from the file list
- Adjust the Quality slider and watch the real-time preview
- Configure additional settings as needed
- Click "Save Compressed" to save the optimized image
- Add multiple images using "Add Files" or "Add Folder"
- Configure your desired compression settings
- Click "Compress All Files"
- Select an output folder
- Monitor progress and wait for completion
- Left Panel: Shows the original image with its properties
- Right Panel: Shows real-time preview of compressed result
- Bottom Bar: Displays size comparison and savings percentage
| Setting | Description | Default |
|---|---|---|
| Quality | Compression quality (1-100%) | 85% |
| Output Format | Target format (Original/JPEG/PNG/WebP) | Original |
| Lossless | Enable lossless compression (PNG/WebP) | Off |
| Resize | Enable dimension constraints | Off |
| Max Width | Maximum output width in pixels | 1920 |
| Max Height | Maximum output height in pixels | 1080 |
| Maintain Aspect Ratio | Keep original proportions | On |
| Progressive JPEG | Create progressive JPEGs | On |
| Optimize PNG | Extra PNG optimization | On |
| Preserve Metadata | Keep EXIF and other metadata | Off |
Note on Lossless Compression:
- PNG: Always lossless by nature
- WebP: Full lossless mode supported
- JPEG: Uses maximum quality (100%) - not true lossless as JPEG is inherently lossy
InteliComp/
βββ run.py # Application entry point
βββ requirements.txt # Python dependencies
βββ README.md # This file
βββ LICENSE # MIT License
βββ src/
β βββ __init__.py # Package initialization
β βββ app.py # Main GUI application
β βββ compressor.py # Image compression engine
βββ docs/
βββ screenshot.png # Application screenshot
python -m pytest tests/You can create a standalone executable using PyInstaller:
pip install pyinstaller
pyinstaller --onefile --windowed --name InteliComp run.pyContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Drag and drop support for files
- Image format conversion tools
- Custom compression profiles
- Command-line interface (CLI)
- Plugin system for additional formats
- Cloud storage integration
- Watermark support
- Image comparison slider
This project is licensed under the MIT License - see the LICENSE file for details.
- CustomTkinter - Modern UI framework
- Pillow - Image processing library
- pillow-heif - HEIC/HEIF support
Made with β€οΈ by the InteliComp Team
