Skip to content

Latest commit

 

History

History
82 lines (72 loc) · 1.75 KB

README.md

File metadata and controls

82 lines (72 loc) · 1.75 KB

Pixage

⚒️ A Command Line Tool to resize and change formats of Images
Python Git GitHub

Team members

  1. Muhammed Ajmal M
  2. Arjun M S

Team Id

Python/379

Link to product walkthrough

Pixage.mp4

How it Works ?

  1. It converts .jpg to .png and .png to .jpg by file naming
  2. It enlarges and reduces images by multiplying dimensions

Libraries used

  • Pillow - 9.0.1
  • typer - 0.4.0
  • colorama==0.4.4

How to configure

  1. Clone the Repository
    git clone https://github.com/arjun-ms/Pixage.git
  1. Change directory
    cd Pixage
  1. Create a Venv (Optional)
    virtualenv venv
  1. Activate Venv (Optional)
    .\venv\Scripts\activate
  1. Install Required Packages
    pip install -r requirements.txt
  1. Run Pixage and Enjoy
    python pixage.py

How to Run

  • Run (Menu Driven)
    python pixage.py
  • Run (Direct CLI Commands)

    • JPG to PNG
        pixage.py topng [FILEPATH]
    • PNG to JPG
        pixage.py tojpg [FILEPATH]
    • Reduce
        pixage.py reduce [FILEPATH] [FACTOR]
    • Enlarge
        pixage.py enlarge [FILEPATH] [FACTOR]
    • Help
        pixage.py help