A command line tool for my image processing needs.
Project description
Image Wrench
A command line tool for my image processing needs. Multiple subcommands can be executed sequentially to form a processing pipeline.
Free software: MIT license
Documentation: https://imgwrench.readthedocs.io.
Usage
Usage: imgwrench [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
The main command line interface function of imgwrench
Options:
-i, --image-list FILENAME File containing paths to images for processing,
defaults to stdin
-p, --prefix TEXT prefix for all output filenames before numbering
-k, --keep-names keep original file names instead of numbering
-f, --force-overwrite force overwriting output image file if it exists
-o, --outdir DIRECTORY output directory
-q, --quality INTEGER quality of the output images, integer 0 - 100
--help Show this message and exit.
Commands:
colorfix Fix colors by stretching channel histograms to full range.
resize Resize images to a maximum side length preserving aspect ratio.
save No-op to enable saving of images without any processing.
stack Stack images vertically, empty space in the middle.
Features
Subcommands can be executed sequentially to form a pipeline
Command colorfix for fixing the colors of aged photographs
Command resize for resizing images
Command stack for vertically stacking images
Command save for no processing, but saving images with the given parameters
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2019-01-30)
no-op save command for only saving images
raise exception if output image already exists
-f / –force-overwrite flag to enable overwriting output
tests for cli, pipeline and resize
0.1.1 (2019-01-29)
Fix __main__ module
0.1.0 (2019-01-29)
First release on PyPI.
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
Built Distribution
Hashes for imgwrench-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f504bdcd166efee8458cef6d4c514aa8ac098d792d641d50475ab634eca370d2 |
|
MD5 | 9e803383c453625bdec3e375736ec234 |
|
BLAKE2b-256 | 247bd99e267cc515cb84266eaba2b06cfd293945275a4cfd9ae5fa809b44348e |