Pillow-simd

Latest version: v9.0.0.post1

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

Scan your dependencies

Page 15 of 22

1.1.6b2

+ Added experimental "floodfill" function to the ImageDraw module
(based on code by Eric Raymond).

+ The default arguments for "frombuffer" doesn't match "fromstring"
and the documentation; this is a bug, and will most likely be fixed
in a future version. In this release, PIL prints a warning message
instead. To silence the warning, change any calls of the form
"frombuffer(mode, size, data)" to

frombuffer(mode, size, data, "raw", mode, 0, 1)

+ Added "fromarray" function, which takes an object implementing the
NumPy array interface and creates a PIL Image from it. (from Travis
Oliphant).

+ Added NumPy array interface support (__array_interface__) to the
Image class (based on code by Travis Oliphant).

This allows you to easily convert between PIL image memories and
NumPy arrays:

import numpy, Image

im = Image.open('hopper.jpg')

a = numpy.asarray(im) a is readonly

im = Image.fromarray(a)

+ Fixed CMYK polarity for JPEG images, by treating all images as
"Adobe CMYK" images. (thanks to Cesare Leonardi and Kevin Cazabon
for samples, debugging, and patches).

1.1.6b1

+ Added 'expand' option to the Image 'rotate' method. If true, the
output image is made large enough to hold the entire rotated image.

+ Changed the ImageDraw 'line' method to always draw the last pixel in
a polyline, independent of line angle.

+ Fixed bearing calculation and clipping in the ImageFont truetype
renderer; this could lead to clipped text, or crashes in the low-
level _imagingft module. (based on input from Adam Twardoch and
others).

+ Added ImageQt wrapper module, for converting PIL Image objects to
QImage objects in an efficient way.

+ Fixed 'getmodebands' to return the number of bands also for "PA"
and "LA" modes. Added 'getmodebandnames' helper that return the
band names.

1.1.6a2

+ Added float/double support to the TIFF loader (from Russell
Nelson).

+ Fixed broken use of realloc() in path.c (from Jan Matejek)

+ Added save support for Spider images (from William Baxter).

+ Fixed broken 'paste' and 'resize' operations in pildriver
(from Bill Janssen).

+ Added support for duplex scanning to the Sane interface (Abel
Deuring).

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.5

Page 15 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.