tamton-aquib / imreco

A python cli program to perform basic operations to images using opencv.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imreco

Image-Resizer-Converter. A python cli program to perform basic operations on images using opencv. (WIP)

This project was made possible by: @shana. This project was done regarding tinkerhub co-coder.

Installation:

pip install imreco

Usage:

# Syntax:
imreco resize    -i <input_file> -o <output_file> --quality 80
imreco compress  -i <input_file> -o <output_file> --size 300x400
imreco convert   -i <input_file> -o <output_file>

TODOS:

  • Resizer: To change dimension of the provided image, and save it to a new file.
  • Converter: To change file formats from png to jpg, etc.
  • Compressor: To compress jpg files in file size.
  • Config: Add user config options. (maybe argparse or typer)
  • Checks multiple files or a directory.
  • Chain functions and/or operations
  • Host as a flask api server?

About

A python cli program to perform basic operations to images using opencv.

License:MIT License


Languages

Language:Python 100.0%