https://github.com/printerscanner/easy-image-compression
🎞 Simple terminal based image resizing.
https://github.com/printerscanner/easy-image-compression
Last synced: 17 days ago
JSON representation
🎞 Simple terminal based image resizing.
- Host: GitHub
- URL: https://github.com/printerscanner/easy-image-compression
- Owner: printerscanner
- License: mit
- Created: 2022-05-11T13:13:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-02T13:11:18.000Z (over 2 years ago)
- Last Synced: 2025-03-02T16:16:58.834Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Easy Image Compression
Compressing and renaming images shouldn't take forever. This is a simple script that imports all images in a folder, resizes, compresses and renames them. Simply input the name you want to rename the files.
## Installation
This script uses open cv. You can downloaded it with pip:
```
pip install opencv-python
```
## Usage
Simply clone the repo, move the images into the project folder and run the python file. The program will prompt you to ask what you would like to rename your images to.
Type, it in, press enter, and you're done.
```
gh repo clone printerscanner/easy-image-compression
python app.py
```
You can add an alias to your .bash_profile or .zshrc like the one below, and type `resize` in the terminal of whatever folder you are in.
```
alias resize='python ~/PATH_TO_YOUR_APP/app.py'
```
## Contributing
If you'd like to contribute to this repository feel free to fork/submit a pull request, and if you have any suggestions feel free to email me at abbeyyacoe@gmail.com.
## License
The theme is available as open source under the terms of the MIT License.