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.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: imreco-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.5-arch1-1

File hashes

Hashes for imreco-1.0.0.tar.gz
Algorithm Hash digest
SHA256 62e41e0de24a0aad8d62c057c195fc46eb88942085503a53d6571c73bbf13705
MD5 910b3852cc56e78d345e3bfecd26c3ff
BLAKE2b-256 030004529b955825a89798273997ac8a3bae4c8f08d2ea211c1d5a7a4fbcd8fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imreco-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.5-arch1-1

File hashes

Hashes for imreco-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd1e70b62794a8be30ea91a6daf033748dd604816a9b3a07551a30b8fa761fa2
MD5 262b3b020837406f6cfe87fac9c1fdc6
BLAKE2b-256 5314833d0b3280ffbdcd6a534bf38fd0f24cfe97efd193a8b6ce154e7a7b38a3

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