A Python CLI for transforming images.
Project description
itils
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
poetry install
poetry shell
Notes
convert image.png -resize 70% smaller_image.png
(documentation).- "Improve Windows Support" (open) issue (halo).
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
itils-0.1.0-py3-none-any.whl
(5.1 kB
view hashes)