https://github.com/bytemedirk/image_compressor
A PyQt5 widget that allows the user to select an image, compress it and save it to a file.
https://github.com/bytemedirk/image_compressor
application desktop-application imagecompressor opensource pyqt5 pyqt5-desktop-application
Last synced: 7 days ago
JSON representation
A PyQt5 widget that allows the user to select an image, compress it and save it to a file.
- Host: GitHub
- URL: https://github.com/bytemedirk/image_compressor
- Owner: ByteMeDirk
- License: mit
- Created: 2023-01-14T20:36:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T21:06:35.000Z (over 3 years ago)
- Last Synced: 2025-03-02T23:43:44.564Z (over 1 year ago)
- Topics: application, desktop-application, imagecompressor, opensource, pyqt5, pyqt5-desktop-application
- Language: Python
- Homepage:
- Size: 37.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Compressor
[Download](https://github.com/DirksCGM/image_compressor/raw/main/dist/Image%20Compressor.exe)
A PyQt5 widget that allows the user to select an image, compress it and save it to a file.
The code is totally opensource, so check it out, it simply does what it says on the box :D
## Getting Started
Clone the repository to your local machine
```commandline
git clone https://github.com/yourusername/image-compressor.git
```
Install the requirements
```commandline
pip install -r requirements.txt
```
Run the app
```commandline
python main.py
```
## Using the App
### By Using the app.py file
Click on the 'Select Image' button to select an image from your local machine.
Click on the 'Compress Image' button to compress the selected image.
The compressed image will be saved in the same directory as the original image with the name 'compressed_image.jpg' or
with a user-specified name if provided.
A notification will be displayed on the self.image_label widget showing the save location of the compressed image.
### By using the .exe
Simply download the `dist/Image Compressor.exe` to your computers applications directory, create a shortcut to your
Desktop or pin it, and use it like any other applciation.
## Built With
PyQt5 - The GUI framework used
Pillow - A Python Imaging Library
## Contributing
Fork the repository
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create a new Pull Request
## Authors
DirkSCGM
# License
This project is licensed under the MIT License - see the LICENSE.md file for details