Pillow-simd

Latest version: v9.5.0.post2

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

Scan your dependencies

Page 17 of 23

1.1.5c2

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

- Added experimental PERSPECTIVE transform method (from Jeff Breiden-
bach).

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.

1.1.5b1

-------

- Added new Sane release (from Ralph Heinkel). See the Sane/README
and Sane/CHANGES files for more information.

- Added experimental PngInfo chunk container to the PngImageFile
module. This can be used to add arbitrary chunks to a PNG file.
Create a PngInfo instance, use "add" or "add_text" to add chunks,
and pass the instance as the "pnginfo" option when saving the
file.

- Added "getpalette" method. This returns the palette as a list,
or None if the image has no palette. To modify the palette, use
"getpalette" to fetch the current palette, modify the list, and
put it back using "putpalette".

- Added optional flattening to the ImagePath "tolist" method.
tolist() or tolist(0) returns a list of 2-tuples, as before.
tolist(1) returns a flattened list instead.

1.1.5a5

-------

- Fixed BILINEAR/BICUBIC/ANTIALIAS filtering for mode "LA".

- Added "getcolors()" method. This is similar to the existing histo-
gram method, but looks at color values instead of individual layers,
and returns an unsorted list of (count, color) tuples.

By default, the method returns None if finds more than 256 colors.
If you need to look for more colors, you can pass in a limit (this
is used to allocate internal tables, so you probably don't want to
pass in too large values).

- Build improvements: Fixed building under AIX, improved detection of
FreeType2 and Mac OS X framework libraries, and more. Many thanks
to everyone who helped test the new "setup.py" script!

Page 17 of 23

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.