NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #43 most downloaded on PyPI
Python Imaging Library (fork)
Latest stable
13.0.0
Last release 1 months ago
16 Oct 2026
Ships on a steady schedule
a new release about every 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
108 releases · first in 2010
Drag across the ruler to compare, or tap a release to open it.
Fix SciPy regression in Image.resize #945 [wiredfool]
Fix SciPy regression in Image.resize #945 [wiredfool]
Fix manifest to include all test files. [aclark4life]
Relax precision of ImageDraw tests for x86, GimpGradient for PPC #930 [wiredfool]
Relax precision of ImageDraw tests for x86, GimpGradient for PPC #930 [wiredfool]
PIL/IcnsImagePlugin.py in Pillow before 2.3.2 and 2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted block size.
Found and reported by Andrew Drake of Dropbox.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed CVE-2014-3598, a DOS in the Jpeg2KImagePlugin (backport) [Andrew Drake]
Fixed CVE-2014-3598, a DOS in the Jpeg2KImagePlugin (backport) [Andrew Drake]
Fixed CVE-2014-3589, a DOS in the IcnsImagePlugin (backport) [Andrew Drake]
Fixed CVE-2014-3589, a DOS in the IcnsImagePlugin (backport) [Andrew Drake]
PIL/IcnsImagePlugin.py in Pillow before 2.3.2 and 2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted block size.
Found and reported by Andrew Drake of Dropbox.
Fixed install issue if Multiprocessing.Pool is not available [wiredfool]
Fixed install issue if Multiprocessing.Pool is not available [wiredfool]
32bit mult overflow fix #782 [wiredfool]
Imagedraw rewrite #737 [terseus, wiredfool]
Imagedraw rewrite #737 [terseus, wiredfool]
Add support for multithreaded test execution #755 [wiredfool]
Prevent shell injection #748 [mbrown1413, wiredfool]
Support for Resolution in BMP files #734 [gcq]
Fix error in setup.py for Python 3 #744 [matthew-brett]
Pyroma fix and add Python 3.4 to setup metadata #742 [wirefool]
Top level flake8 fixes #741 [aclark4life]
Remove obsolete Animated Raster Graphics (ARG) support #736 [hugovk]
Fix test_imagedraw failures #727 [cgohlke]
Fix AttributeError: class Image has no attribute 'DEBUG' #726 [cgohlke]
Fix msvc warning: 'inline' : macro redefinition #725 [cgohlke]
Cleanup #654 [dvska, hugovk, wiredfool]
16-bit monochrome support for JPEG2000 #730 [videan42]
Fixed ImagePalette.save [brightpisces]
Support JPEG qtables #677 [csinchok]
Add binary morphology addon [dov, wiredfool]
Decompression bomb protection #674 [hugovk]
Put images in a single directory #708 [hugovk]
Support OpenJpeg 2.1 #681 [al45tair, wiredfool]
Remove unistd.h #include for all platforms #704 [wiredfool]
Use unittest for tests [hugovk]
ImageCms fixes [hugovk]
Added more ImageDraw tests [hugovk]
Added tests for Spider files [hugovk]
Use libtiff to write any compressed tiff files #669 [wiredfool]
Support for pickling Image objects [hugovk]
Fixed resolution handling for EPS thumbnails #619 [eliempje]
Fixed rendering of some binary EPS files (Issue #302) [eliempje]
Rename variables not to use built-in function names #670 [hugovk]
Ignore junk JPEG markers [hugovk]
Change default interpolation for Image.thumbnail to Image.ANTIALIAS [hugovk]
Add tests and fixes for saving PDFs [hugovk]
Remove transparency resource after P->RGBA conversion [hugovk]
Clean up preprocessor cruft for Windows #652 [CounterPillow]
Adjust Homebrew freetype detection logic #656 [jacknagel]
Added Image.close, context manager support [wiredfool]
Added support for 16 bit PGM files [wiredfool]
Updated OleFileIO to version 0.30 from upstream #618 [hugovk]
Added support for additional TIFF floating point format [Hijackal]
Have the tempfile use a suffix with a dot [wiredfool]
Fix variable name used for transparency manipulations #604 [nijel]
Indexed Transparency handled for conversions between L, RGB, and P modes #574 (fixes #510) [wiredfool]
Indexed Transparency handled for conversions between L, RGB, and P modes #574 (fixes #510) [wiredfool]
Conversions enabled from RGBA->P #574 (fixes #544) [wiredfool]
Improved icns support #565 [al45tair]
Fix libtiff leaking open files #580 (fixes #526) [wiredfool]
Fixes for Jpeg encoding in Python 3 #578 (fixes #577) [wiredfool]
Added support for JPEG 2000 #547 [al45tair]
Add more detailed error messages to Image.py #566 [larsmans]
Avoid conflicting _expand functions in PIL & MINGW, fixes #538 [aclark4life]
Merge from Philippe Lagadec’s OleFileIO_PL fork #512 [vadmium]
Fix ImageColor.getcolor #534 [homm]
Make ICO files work with the ImageFile.Parser interface #525 (fixes #522) [wiredfool]
Handle 32bit compiled python on 64bit architecture #521 [choppsv1]
Fix support for characters >128 using .pcf or .pil fonts in Py3k #517 (fixes #505) [wiredfool]
Skip CFFI test earlier if it's not installed #516 [wiredfool]
Fixed opening and saving odd sized .pcx files #535 (fixes #523) [wiredfool]
Fixed palette handling when converting from mode P->RGB->P [d-schmidt]
Fixed saving mode P image as a PNG with transparency = palette color 0 [d-schmidt]
Improve heuristic used when saving progressive and optimized JPEGs with high quality values #504 [e98cuenc]
Fixed DOS with invalid palette size or invalid image size in BMP file [wiredfool]
Added support for BMP version 4 and 5 [eddwardo, wiredfool]
Fix segfault in getfont when passed a memory resident font [wiredfool]
Fix crash on Saving a PNG when icc-profile is None #496 [brutasse]
Cffi+Python implementation of the PixelAccess object [wiredfool]
PixelAccess returns unsigned ints for I16 mode [wiredfool]
Minor patch on booleans + Travis #474 [sciunto]
Look in multiarch paths in GNU platforms #511 [pinotree]
Add arch support for pcc64, s390, s390x, armv7l, aarch64 #475 [manisandro]
Add arch support for ppc [wiredfool]
Correctly quote file names for WindowsViewer command [cgohlke]
Prefer homebrew freetype over X11 freetype (but still allow both) #466 [dmckeone]
Fixed CVE-2014-3589, a DOS in the IcnsImagePlugin (backport) [Andrew Drake]
Fixed CVE-2014-3589, a DOS in the IcnsImagePlugin (backport) [Andrew Drake]
PIL/IcnsImagePlugin.py in Pillow before 2.3.2 and 2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted block size.
Found and reported by Andrew Drake of Dropbox.
Fix insecure use of tempfile.mktemp (CVE-2014-1932 CVE-2014-1933) [wiredfool]
Fix insecure use of tempfile.mktemp (CVE-2014-1932 CVE-2014-1933) [wiredfool]
These issues were reported in Debian bug #737059.
The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy function in Image.py in Pillow before 2.3.1 do not properly create temporary files, which allow local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on the temporary file.
The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Pillow before 2.3.1 uses the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes.
Stop leaking filename parameter passed to getfont #459 [jpharvey]
Stop leaking filename parameter passed to getfont #459 [jpharvey]
Report availability of LIBTIFF during setup and selftest [cgohlke]
Fix msvc build error C1189: "No Target Architecture" #460 [cgohlke]
Fix memory leak in font_getsize [wiredfool]
Correctly prioritize include and library paths #442 [ohanar]
Image.point fixes for numpy.array and docs #441 [wiredfool]
Save the transparency header by default for PNGs #424 [wiredfool]
Support for PNG tRNS header when converting from RGB->RGBA #423 [wiredfool]
PyQT5 Support #418 [wiredfool]
Updates for saving color tiffs w/compression using libtiff #417 [wiredfool]
2gigapix image fixes and redux [wiredfool]
Save arbitrary tags in Tiff image files #369 [wiredfool]
Quote filenames and title before using on command line #398 [tmccombs]
Fixed Viewer.show to return properly #399 [tmccombs]
Documentation fixes [wiredfool]
Fixed memory leak saving images as webp when webpmux is available #429 [cezarsa]
Fix compiling with FreeType 2.5.1 #427 [stromnov]
Adds directories for NetBSD #411 [deepy]
Support RGBA TIFF with missing ExtraSamples tag #393 [cgohlke]
Lossless WEBP Support #390 [wiredfool]
Take compression as an option in the save call for tiffs #389 [wiredfool]
Add support for saving lossless WebP. Just pass 'lossless=True' to save() #386 [liftoff]
LCMS support upgraded from version 1 to version 2 #380 (fixes #343) [wiredfool]
Added more raw decoder 16 bit pixel formats #379 [svanheulen]
Document remaining Image* modules listed in PIL handbook [irksep]
Document ImageEnhance, ImageFile, ImageFilter, ImageFont, ImageGrab, ImageMath, and ImageOps [irksep]
Port and update docs for Image, ImageChops, ImageColor, and ImageDraw [irksep]
Move or copy content from README.rst to docs/ [irksep]
Respect CFLAGS/LDFLAGS when searching for headers/libs [iElectric]
Port PIL Handbook tutorial and appendices [irksep]
Alpha Premultiplication support for transform and resize #364 [wiredfool]
Fixes to make Pypy 2.1.0 work on Ubuntu 12.04/64 #359 [wiredfool]
Fix compiling with FreeType 2.5.1 #427 [stromnov]
Fix compiling with FreeType 2.5.1 #427 [stromnov]
Error installing Pillow 2.2.0 on Mac OS X (due to hard dep on brew) #357 (fixes #356) [wiredfool]
Error installing Pillow 2.2.0 on Mac OS X (due to hard dep on brew) #357 (fixes #356) [wiredfool]
Bug in image transformations resulting from uninitialized memory #348 (fixes #254) [nikmolnar]
Bug in image transformations resulting from uninitialized memory #348 (fixes #254) [nikmolnar]
Fix for encoding of b_whitespace #346 (similar to closed issue #272) [mhogg]
Add numpy array interface support for 16 and 32 bit integer modes #347 (fixes #273) [cgohlke]
Partial fix for #290: Add preliminary support for TIFF tags. [wiredfool]
Fix #251 and #326: circumvent classification of pngtest_bad.png as malware [cgohlke]
Add typedef uint64_t for MSVC #339 [cgohlke]
setup.py: better support for C_INCLUDE_PATH, LD_RUN_PATH, etc. #336 (fixes #329) [nu774]
_imagingcms.c: include windef.h to fix build issue on MSVC #335 (fixes #328) [nu774]
Automatically discover homebrew include/ and lib/ paths on OS X #330 [donspaulding]
Fix bytes which should be bytearray #325 [manisandro]
Add respective paths for C_INCLUDE_PATH, LD_RUN_PATH (rpath) to build if specified as environment variables #324 [seanupton]
Fix #312 + gif optimize improvement [d-schmidt]
Be more tolerant of tag read failures #320 [ericbuehl]
Catch truncated zTXt errors #321 (fixes #318) [vytisb]
Fix IOError when saving progressive JPEGs #313 [e98cuenc]
Add RGBA support to ImageColor #309 [yoavweiss]
Test for str, not "utf-8" #306 (fixes #304) [mjpieters]
Fix missing import os in _util.py #303 [mnowotka]
Added missing exif tags #300 [freyes]
Fail on all import errors #298, #299 (fixes #297) [macfreek, wiredfool]
Fixed Windows fallback (wasn't using correct file in Windows fonts) #295 [lmollea]
Moved ImageFile and ImageFileIO comments to docstrings #293 [freyes]
Restore compatibility with ISO C #289 [cgohlke]
Use correct format character for C int type #288 [cgohlke]
Allocate enough memory to hold pointers in encode.c #287 [cgohlke]
Fillorder double shuffling bug when FillOrder ==2 and decoding using libtiff #284 (fixes #279) [wiredfool]
Moved Image module comments to docstrings. [freyes]
Add 16-bit TIFF support #277 (fixes #274) [wiredfool]
Ignore high ascii characters in string.whitespace #276 (fixes #272) [wiredfool]
Added clean/build to tox to make it behave like Travis #275 [freyes]
Adding support for metadata in webp images #271 [heynemann]
Add /usr/bin/env python shebangs to all scripts in /Scripts #197 [mgorny]
Add /usr/bin/env python shebangs to all scripts in /Scripts #197 [mgorny]
Add several TIFF decoders and encoders #268 [megabuz]
Added support for alpha transparent webp images.
Adding Python 3 support for StringIO.
Adding Python3 basestring compatibility without changing basestring.
Fix webp encode errors on win-amd64 #259 [cgohlke]
Better fix for ZeroDivisionError in ImageOps.fit for image.size height is 1 #267 [chrispbailey]
Better support for ICO images.
Changed PY_VERSION_HEX #190 (fixes #166)
Changes to put everything under the PIL namespace #191 [wiredfool]
Changing StringIO to BytesIO.
Cleanup whitespace. [Arfrever]
Don't skip 'import site' on initialization when running tests for inplace builds. [cgohlke]
Enable warnings for test suite #227 [wiredfool]
Fix for ZeroDivisionError in ImageOps.fit for image.size == (1,1) #255 [pterk]
Fix for if isinstance(filter, collections.Callable) crash. Python bug #7624 on <2.6.6
Remove double typedef declaration #194 (fixes #193) [evertrol]
Fix msvc compile errors (#230).
Fix rendered characters have been chipped for some TrueType fonts [tk0miya]
Fix usage of pilfont.py script #184 [fabiomcosta]
Fresh start for docs, generated by sphinx-apidoc.
Introduce --enable-x and fail if it is given and x is not available.
Partial work to add a wrapper for WebPGetFeatures to correctly support #220 (fixes #204)
Significant performance improvement of alpha_composite function #156 [homm]
Support explicitly disabling features via --disable-* options #240 [mgorny]
Support selftest.py --installed, fixes #263
Transparent WebP Support #220 (fixes #204) [euangoddard, wiredfool]
Use PyCapsule for py3.1 #238 (fixes #237) [wiredfool]
Workaround for: https://bugs.python.org/issue16754 in 3.2.x < 3.2.4 and 3.3.0.
.. Note:: Special thanks to Christoph Gohlke and Eric Soroos for assisting with a pre-PyCon 2013 release!
Note
Special thanks to Christoph Gohlke and Eric Soroos for assisting with a pre-PyCon 2013 release!
Many other bug fixes and enhancements by many other people.
Add Python 3 support. (Pillow >= 2.0.0 supports Python 2.6, 2.7, 3.2, 3.3. Pillow < 2.0.0 supports Python 2.4, 2.5, 2.6, 2.7.) [fluggo]
Add PyPy support (experimental, please see #67)
Add WebP support #96 [lqs]
Add Tiff G3/G4 support (experimental) [wiredfool]
Backport PIL's PNG/Zip improvements #95, #97 [olt]
Various 64-bit and Windows fixes. [cgohlke]
Add testing suite. [cgohlke, fluggo]
Added support for PNG images with transparency palette. [d-schmidt]
Removed doctests.py that made tests of other packages fail. [thomasdesvenain]
Removed doctests.py that made tests of other packages fail. [thomasdesvenain]
Fix opening psd files with RGBA layers when A mode is not of type 65535 but 3. Fixes #3 [thomasdesvenain]
UNDEF more types before including windows headers [mattip]
UNDEF more types before including windows headers [mattip]
Bug fix: freetype not found on Mac OS X with case-sensitive filesystem [gjo]
Bug fix: freetype not found on Mac OS X with case-sensitive filesystem [gjo]
Bug fix: Backport fix to split() after open() (regression introduced in PIL 1.1.7). [sfllaw]
Fix for sys.platform = "linux3" [blueyed]
Fix for sys.platform = "linux3" [blueyed]
Package cleanup and additional documentation [aclark4life]
Fix brown bag release [aclark4life]
Fix brown bag release [aclark4life]
Fix : resize need int values, append int conversion in thumbnail method [harobed]
Fix : resize need int values, append int conversion in thumbnail method [harobed]
Bug fix: Python 2.4 compat [aclark4life]
Bug fix: Python 2.4 compat [aclark4life]
More multi-arch support [SteveM, regebro, barry, aclark4life]
More multi-arch support [SteveM, regebro, barry, aclark4life]
Add support for multi-arch library directory /usr/lib/x86_64-linux-gnu [aclark4life]
Add support for multi-arch library directory /usr/lib/x86_64-linux-gnu [aclark4life]
Bug fix: /usr/x11/include should be added to include_dirs not library_dirs [elro]
Bug fix: /usr/x11/include should be added to include_dirs not library_dirs [elro]
Doc fixes [aclark4life]
Module and package fixes [aclark4life]
Module and package fixes [aclark4life]
- Doc fixes [aclark4life]
Doc fixes [aclark4life]
Add support for /lib64 and /usr/lib64 library directories on Linux [aclark4life]
Add support for /lib64 and /usr/lib64 library directories on Linux [aclark4life]
Doc fixes [aclark4life]
On OS X also check for freetype2 in the X11 path [jezdez]
On OS X also check for freetype2 in the X11 path [jezdez]
Doc fixes [aclark4life]
Removed setuptools_hg requirement [aclark4life]
Removed setuptools_hg requirement [aclark4life]
Doc fixes [aclark4life]
Remove support for import Image. from PIL import Image now required.
Remove support for import Image. from PIL import Image now required.
Forked PIL based on Chris McDonough and Hanno Schlichting's setuptools compatible re-packaging [aclark4life]
One column per quarter.