A cli program to resize images and convert between different formats.
Project description
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?
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imreco-1.0.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
imreco-1.0.1-py3-none-any.whl
(4.6 kB
view hashes)