@@ -29,6 +29,18 @@ Image.fromarray mode parameter
29
29
The ``mode `` parameter in :py:meth: `~PIL.Image.fromarray() ` has been deprecated. The
30
30
mode can be automatically determined from the object's shape and type instead.
31
31
32
+ Saving I mode images as PNG
33
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
34
+
35
+ In order to fit the 32 bits of I mode images into PNG, when PNG images can only contain
36
+ at most 16 bits for a channel, Pillow has been clipping the values. Rather than quietly
37
+ changing the data, this is now deprecated. Instead, the image can be converted to
38
+ another mode before saving::
39
+
40
+ from PIL import Image
41
+ im = Image.new("I", (1, 1))
42
+ im.convert("I;16").save("out.png")
43
+
32
44
API changes
33
45
===========
34
46
48
60
Other changes
49
61
=============
50
62
63
+ Added QOI saving
64
+ ^^^^^^^^^^^^^^^^
65
+
66
+ Support has been added for saving QOI images. ``colorspace `` can be used to specify the
67
+ colorspace as sRGB with linear alpha, e.g. ``im.save("out.qoi", colorspace="sRGB") ``.
68
+ By default, all channels will be linear.
69
+
70
+ Support using more screenshot utilities with ImageGrab on Linux
71
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
+
73
+ :py:meth: `~PIL.ImageGrab.grab ` is now able to use GNOME Screenshot, grim or Spectacle
74
+ on Linux in order to take a snapshot of the screen.
75
+
76
+ Do not build against libavif < 1
77
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78
+
79
+ Pillow only supports libavif 1.0.0 or later. In order to prevent errors when building
80
+ from source, if a user happens to have an earlier libavif on their system, Pillow will
81
+ now ignore it.
82
+
51
83
Python 3.14 beta
52
84
^^^^^^^^^^^^^^^^
53
85
0 commit comments