Skip to main content

A Python CLI for transforming images.

Project description

itils

security: bandit Code style: black

A Python CLI for transforming images.

Powered by plac (CLI), Wand (images), and halo (spinners).

Usage

Interactive mode

itils -i

Run quit to close itils.

gslide subcommand

usage: itils gslide [-h] [-r PCT] input_img

Resize an image to be smaller than 25 megapixels for Google Slides.
The image can be resized using an explicit percentage as well.

positional arguments:
  input_img             The path to the image to be transformed.

optional arguments:
  -h, --help            show this help message and exit
  -r PCT, --resize PCT  The (explicit) percentage value (e.g., 70) to scale
                        both width and height. Values less than 100 reduce the
                        image size.

Development

  1. poetry install
  2. poetry shell

Notes

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

itils-0.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

itils-0.1.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

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