GitHub - python-pillow/pillow-scripts: Legacy image scripts extracted from Pillow
Repository navigation
pillow-scriptsPublic
About
Legacy image scripts extracted from Pillow
Topics
pillow python scriptsResources
Readme License Activity Custom propertiesStars
6 starsWatchers
3 watchingForks
9 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
29 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .github/ workflows | .github/ workflows | ||
| Scripts | Scripts | ||
| presentation | presentation | ||
| .gitignore | .gitignore | ||
| LICENSE | LICENSE | ||
| MANIFEST.in | MANIFEST.in | ||
| README.rst | README.rst | ||
| justfile | justfile | ||
| pyproject.toml | pyproject.toml | ||
Repository files navigation
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.
About
Legacy image scripts extracted from Pillow