Skip to content

ImageResizer is a Python script utilizing 𝗒𝗽𝗲𝗻𝗖𝗩 to resize images. Easily adjust image dimensions by specifying source, destination, and scaling percentage ... ❀️

License

Notifications You must be signed in to change notification settings

subhranil002/ImageResizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

Additionally, ensure you have Python installed on your system. You'll also need to install the OpenCV library. You can install it via pip:

pip install opencv-python

Usage

  1. Clone the repository to your local machine:
git clone https://github.com/subhranil002/ImageResizer.git
  1. Ensure you have the source image file (example.jpeg) in the same directory as the script.
  2. 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.
  3. Run the script:
python ImageResizer.py
  1. 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 file for details.




Made With ❀️

About

ImageResizer is a Python script utilizing 𝗒𝗽𝗲𝗻𝗖𝗩 to resize images. Easily adjust image dimensions by specifying source, destination, and scaling percentage ... ❀️

Topics

Resources

License

Stars

Watchers

Forks

Languages