Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subhranil002/imageresizer
ImageResizer is a Python script utilizing 𝗢𝗽𝗲𝗻𝗖𝗩 to resize images. Easily adjust image dimensions by specifying source, destination, and scaling percentage ... ❤️
https://github.com/subhranil002/imageresizer
cv2 image-processing imageresize imageresizer opencv opencv-python python python-3 python-script python3
Last synced: 4 days ago
JSON representation
ImageResizer is a Python script utilizing 𝗢𝗽𝗲𝗻𝗖𝗩 to resize images. Easily adjust image dimensions by specifying source, destination, and scaling percentage ... ❤️
- Host: GitHub
- URL: https://github.com/subhranil002/imageresizer
- Owner: subhranil002
- License: mit
- Created: 2023-09-03T06:53:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-06T18:58:33.000Z (9 months ago)
- Last Synced: 2024-02-06T19:54:57.324Z (9 months ago)
- Topics: cv2, image-processing, imageresize, imageresizer, opencv, opencv-python, python, python-3, python-script, python3
- Language: Python
- Homepage: https://github.com/subhranil002
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImageResizer
ImageResizer is a Python script that utilizes the OpenCV library (`cv2`) to resize images. This script allows users to specify the source image file, destination file, and the percentage by which the image should be scaled.
## Prerequisites
Before running the script, ensure you have Python installed on your system. You can install it from the [official Python website](https://www.python.org/downloads/).
Additionally, ensure you have Python installed on your system. You'll also need to install the OpenCV library. You can install it via pip:
```bash
pip install opencv-python
```## Usage
1. Clone the repository to your local machine:
```bash
git clone https://github.com/subhranil002/ImageResizer.git
```
2. Ensure you have the source image file (`example.jpeg`) in the same directory as the script.
3. Update the configurable parameters as needed in the script:
- `source`: The filename of the source image.
- `destination`: The filename of the resized image.
- `scale_percent`: The percentage by which the image should be scaled.
4. Run the script:```bash
python ImageResizer.py
```5. The resized image will be saved as specified in the `destination` variable.
## Contributing
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and create a pull request with your proposed changes.
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/subhranil002/ImageResizer?tab=MIT-1-ov-file) file for details.
Made With ❤️