Skip to content

Mr3lueSky/Co-coder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Image resizer and formatter

This project is meant for those who want to change the format of an image or those who wish to resize their image. This project is awesome because it uses Command Line Interface, which means you can now convert image formats and resize images using command prompt which makes you look cool! You can blow other people's mind by resizing images using the command prompt.

Team Members

  1. Jyothish T R link
  2. Jyothilakshmi link

TEAM ID

Python 12

Libraries Used

  1. Typer
  2. Pillow

Setup

First we need to install python, To install python click here. Then we have to install Typer module and Pillow module.

To install Typer module type the following command in bash

pip install typer

To install Pillow module use the following command in bash

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow

If you have issues installing any of the modules refer to these documentations Pillow documentation Typer installation

Link to product walkthrough

click here

How to run the program

After installing the required modules, Open command prompt and navigate to the folder where the python file is saved. then run the follow command

python3 main.py

How it works

Step 1) Input the directory where your image is situated. Step 2) Choose whether you want to resize or format. Step 3) If you wish to resize enter the pixel values for resizing. Make sure to enter height first and then width. Step 4) Enter where you would like to save the file Step 5) Navigate to that folder and you will have the resized image. The name of the file will be "resized image" Step 5) If instead you wish to format. First enter the format to which you would like to convert. Step 6) Enter the folder where you would like to save the file. Step 7) The formatted image will be available in the destination folder with the same name but different format.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages