You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run pip install pilkit (or clone the source and put the pilkit module on
your path)
Note
If you've never seen Pillow before, it considers itself a
more-frequently updated "friendly" fork of PIL that's compatible with
setuptools. As such, it shares the same namespace as PIL does and is a
drop-in replacement.
Usage Overview
Processors
The "pilkit.processors" module contains several classes for processing PIL
images, which provide an easy to understand API:
In addition to the processors, PILKit contains a few utilities to ease the pain
of working with PIL. Some examples:
prepare_image
Prepares the image for saving to the provided format by doing some
common-sense conversions, including preserving transparency and quantizing.
save_image
Wraps PIL's Image.save() method in order to gracefully handle PIL's
"Suspension not allowed here" errors, and (optionally) prepares the image
using prepare_image
Utilities are also included for converting between formats, extensions, and
mimetypes.
Community
Please use the GitHub issue tracker
to report bugs. A mailing list
also exists to discuss the project and ask questions, as well as the official
#imagekit channel on Freenode. (Both of
these are shared with the django-imagekit project—from which PILKit spun
off.)
About
Utilities and processors built for, and on top of PIL