Git Product home page Git Product logo

subhranil002 / imageresizer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3 KB

ImageResizer is a Python script utilizing ๐—ข๐—ฝ๐—ฒ๐—ป๐—–๐—ฉ to resize images. Easily adjust image dimensions by specifying source, destination, and scaling percentage ... โค๏ธ

Home Page: https://github.com/subhranil002

License: MIT License

Python 100.00%
cv2 image-processing imageresize imageresizer opencv opencv-python python python-3 python-script python3

imageresizer's Introduction

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 โค๏ธ

imageresizer's People

Contributors

subhranil002 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.