Skip to content

A command line image format tool using which we can convert image format, resize image and other optional pre-processing. One can pass a single image path or image folder.

Notifications You must be signed in to change notification settings

arjun-ms/Pixage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A command line image format tool using which we can convert image format, resize image and other optional pre-processing. One can pass a single image path or image folder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages