Pillow

Latest version: v11.1.0

Safety actively analyzes 721825 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 18 of 24

1.1.6a1

-------

- Fixed a memory leak in "convert(mode)", when converting from
L to P.

- Added pixel access object. The "load" method now returns a
access object that can be used to directly get and set pixel
values, using ordinary [x, y] notation::

pixel = im.load()
v = pixel[x, y]
pixel[x, y] = v

If you're accessing more than a few pixels, this is a lot
faster than using getpixel/putpixel.

- Fixed building on Cygwin (from Miki Tebeka).

- Fixed "point(callable)" on unloaded images (reported by Håkan
Karlsson).

- Fixed size bug in ImageWin.ImageWindow constructor (from Victor
Reijs)

- Fixed ImageMath float() and int() operations for Python 2.4
(reported by Don Rozenberg).

- Fixed "RuntimeError: encoder error -8 in tostring" problem for
wide "RGB", "I", and "F" images.

- Fixed line width calculation.

1.1.6a0

-------

- Fixed byte order issue in Image.paste(ink) (from Ka-Ping Yee).

- Fixed off-by-0.5 errors in the ANTIALIAS code (based on input
from Douglas Bagnall).

- Added buffer interface support to the Path constructor. If
a buffer is provided, it is assumed to contain a flat array
of float coordinates (e.g. array.array('f', seq)).

- Added new ImageMath module.

- Fixed ImageOps.equalize when used with a small number of distinct
values (reported by David Kirtley).

- Fixed potential integer division in PSDraw.image (from Eric Etheridge).

1.1.5c2

-----------------------

- Added experimental PERSPECTIVE transform method (from Jeff Breidenbach).

1.1.5c1

-------

- Make sure "thumbnail" never generates zero-wide or zero-high images
(reported by Gene Skonicki)

- Fixed a "getcolors" bug that could result in a zero count for some
colors (reported by Richard Oudkerk).

- Changed default "convert" palette to avoid "rounding errors" when
round-tripping white source pixels (reported by Henryk Gerlach and
Jeff Epler).

1.1.5b3

-------

- Don't crash in "quantize" method if the number of colors requested
is larger than 256. This release raises a ValueError exception;
future versions may return a mode "RGB" image instead (reported
by Richard Oudkerk).

- Added WBMP read/write support (based on code by Duncan Booth).

1.1.5b2

-------

- Added DPI read/write support to the PNG codec. The decoder sets
the info["dpi"] attribute for PNG files with appropriate resolution
settings. The encoder uses the "dpi" option (based on code by Niki
Spahiev).

- Added limited support for "point" mappings from mode "I" to mode "L".
Only 16-bit values are supported (other values are clipped), the lookup
table must contain exactly 65536 entries, and the mode argument must be
set to "L".

- Added support for Mac OS X icns files (based on code by Bob Ippolito).

- Added "ModeFilter" support to the ImageFilter module.

- Added support for Spider images (from William Baxter). See the
comments in PIL/SpiderImagePlugin.py for more information on this
format.

Page 18 of 24

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.