Pillow/Scripts
2017-02-25 13:49:05 +11:00
..
createfontdatachunk.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
enhancer.py Merge pull request #1904 from radarhere/args 2016-05-21 12:55:44 +03:00
explode.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
gifmaker.py Merged gifmaker into GifImagePlugin 2015-06-30 18:02:48 +10:00
painter.py Do not start Tk if only to exit 2016-05-11 00:29:39 +10:00
pilconvert.py Fixed redefinition of built-in 2015-04-24 16:02:39 +10:00
pildriver.py Removed use of eval 2016-05-10 23:07:16 +10:00
pilfile.py Use logging instead of print. 2015-06-29 12:39:50 -07:00
pilfont.py Flake8 fixes 2015-08-25 22:27:18 +10:00
pilprint.py Added debug to pilprint available options 2016-03-12 10:30:54 +11:00
player.py Replaced KeyError catch with dictionary get method 2017-02-25 13:49:05 +11:00
README.rst Fixed typo [ci skip] 2015-10-10 14:28:53 +11:00
thresholder.py Merge pull request #1904 from radarhere/args 2016-05-21 12:55:44 +03:00
viewer.py Further health fixes 2015-04-24 18:24:52 +10:00

Scripts
=======

This directory contains a number of more or less trivial utilities
and demo programs.

Comments and contributions are welcome.

</F>

pildriver.py (by Eric S. Raymond)
--------------------------------------------------------------------

A class implementing an image-processing calculator for scripts.
Parses lists of commands (or, called interactively, command-line
arguments) into image loads, transformations, and saves.

viewer.py
--------------------------------------------------------------------

A simple image viewer.  Can display all file formats handled by
PIL.  Transparent images are properly handled.

thresholder.py
--------------------------------------------------------------------

A simple utility that demonstrates how a transparent 1-bit overlay
can be used to show the current thresholding of an 8-bit image.

enhancer.py
--------------------------------------------------------------------

Illustrates the ImageEnhance module.  Drag the sliders to modify the
images.  This might be very slow on some platforms, depending on the
Tk version.

painter.py
--------------------------------------------------------------------

Illustrates how a painting program could be based on PIL and Tk.
Press the left mouse button and drag over the image to remove the
colour.  Some clever tricks have been used to get decent performance
when updating the screen; see the sources for details.

player.py
--------------------------------------------------------------------

A simple image sequence player.  You can use either a sequence format
like FLI/FLC, GIF, or ARG, or give a number of images which are
interpreted as frames in a sequence.  All frames must have the same
size.

gifmaker.py
--------------------------------------------------------------------

Convert a sequence file to a GIF animation.

Note that the GIF encoder provided with this release of PIL writes
uncompressed GIF files only, so the resulting animations are rather
large compared with these created by other tools.

explode.py
--------------------------------------------------------------------

Split a sequence file into individual frames.