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 details)
Built Distribution
itils-0.1.0-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file itils-0.1.0.tar.gz
.
File metadata
- Download URL: itils-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.6.13 Linux/5.4.0-1040-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a62cb4202ac22d8677926aeb422ca97a9a19b19b6d6f2fa600798bfb5780c3 |
|
MD5 | c4d45cb6fc659b667f0d58e865be1bae |
|
BLAKE2b-256 | 62db899d7956a9844444351f8a729798879fc40d2ab3ca80ea25dfccee2de7ef |
File details
Details for the file itils-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: itils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.6.13 Linux/5.4.0-1040-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8eb2199adbd3f80d8ce33b11a0af24937985904b65c2a221b87970b1b1a414 |
|
MD5 | 2171cce5826f0166813d257f895a8943 |
|
BLAKE2b-256 | ef0820a3365c9c199d853ed3c899c4348a47703dd8849ead0799f4d2f9f96d31 |