Metadata-Version: 2.1
Name: imgwrench
Version: 0.2.0
Summary: A command line tool for my image processing needs.
Home-page: https://github.com/luphord/imgwrench
Author: luphord
Author-email: luphord@protonmail.com
License: MIT license
Keywords: imgwrench
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: Click (>=6.0)
Requires-Dist: Pillow (>=5.0)

============
Image Wrench
============


.. image:: https://img.shields.io/pypi/v/imgwrench.svg
        :target: https://pypi.python.org/pypi/imgwrench

.. image:: https://img.shields.io/travis/luphord/imgwrench.svg
        :target: https://travis-ci.org/luphord/imgwrench

.. image:: https://readthedocs.org/projects/imgwrench/badge/?version=latest
        :target: https://imgwrench.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status




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
-----

.. code-block:: console

        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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
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.


