This application allows you to compress multiple images simultaneously, reducing their file size while preserving image quality.
- Select multiple images (PNG, JPEG) for compression.
- Choose the output directory for the compressed images.
- Adjust the compression quality.
- Batch processing with progress tracking.
- Remove selected images from the compression list.
- Python 3.x
- PyQt5 library
- PIL (Python Imaging Library) library
- Clone the repository:
git clone https://github.com/your-username/image-compression.git
- Install the required Python packages:
pip install Pillow PyQt5
- Run the application:
python main2.py
-
Click on the "Select Images" button to choose the images you want to compress.
-
Click on the "Select Output Directory" button to select the directory where the compressed images will be saved.
-
Adjust the compression quality if desired (default is 85).
-
Click on the "Start Compression" button to begin the compression process.
-
The progress bar will show the overall progress of the compression.
-
Once the compression is complete, a message box will appear indicating the successful compression.
-
The compressed images will be saved in the selected output directory.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.