imreco

A cli program to resize images and convert between different formats.


Keywords
image, resizer, converter, compresser, hacktoberfest, opencv, python
License
MIT
Install
pip install imreco==1.0.1

Documentation

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?