An open API service indexing awesome lists of open source software.

https://github.com/enoobis/image-resizer

This is a simple Python script that allows you to resize an image to a new size.
https://github.com/enoobis/image-resizer

image image-resize image-resizer images resize resize-images

Last synced: 6 months ago
JSON representation

This is a simple Python script that allows you to resize an image to a new size.

Awesome Lists containing this project

README

          

# image-resizer

This is a simple Python script that allows you to resize an image to a new size.

RUN ONLINE : [RUN](https://replit.com/@Enoobis/image-resizer)

![image](https://user-images.githubusercontent.com/62465404/219957424-7dd61deb-c233-45fb-ac71-9af500e55ea3.png)

## Getting Started

### Prerequisites

To run this script, you'll need to have Python 3 installed on your computer, as well as the following Python packages:

- tkinter
- Pillow

You can install these packages using pip:
```
pip install tkinter Pillow
```

### Running the Script

To run the script, open a terminal window and navigate to the directory where the script is located. Then, run the following command:
```
python main.py
```

This will open the UI for the image resizer.

## How to Use the Image Resizer

1. Click the "Browse" button next to the "Input file path" field to select the image you want to resize.
2. Click the "Browse" button next to the "Output file path" field to choose where you want to save the resized image.
3. Enter the new width and height for the image in the "Width" and "Height" fields.
4. Click the "Resize Image" button to resize the image.
5. The resized image will be displayed in the UI.

## Built With

- Python 3
- Tkinter
- Pillow

## License

This project is licensed under the MIT License