Skip to main content

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 details)

Uploaded Source

Built Distribution

imreco-1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file imreco-1.0.1.tar.gz.

File metadata

  • Download URL: imreco-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.11.8 Linux/6.2.0-1019-azure

File hashes

Hashes for imreco-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2f28c58649029427c457c0aceafa2029c06a78b21cc2c9cc1138871d510f0191
MD5 288e551e046d21676ddbf26204f8ec24
BLAKE2b-256 e5977ebf85edb5be9b02508614070fc7f0e621ddf6b2de1b76c7d3727de49288

See more details on using hashes here.

File details

Details for the file imreco-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: imreco-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.11.8 Linux/6.2.0-1019-azure

File hashes

Hashes for imreco-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 578437746b8df85ad57b67f274e048106908ccb6a0a2c83f6f26a2026a7bbfe3
MD5 09377c2f268cc4dea3812388c49805bf
BLAKE2b-256 8e9cb44dbea5c3a0897969f8657c8e0e821b490020d98802254d23481f8875e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page