File tree Expand file tree Collapse file tree 1 file changed +12
-25
lines changed
Expand file tree Collapse file tree 1 file changed +12
-25
lines changed Original file line number Diff line number Diff line change 44Security
55========
66
7- TODO
8- ^^^^
7+ Undefined shift when loading compressed DDS images
8+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99
10- TODO
11-
12- :cve: `YYYY-XXXXX `: TODO
13- ^^^^^^^^^^^^^^^^^^^^^^^
14-
15- TODO
16-
17- Backwards Incompatible Changes
18- ==============================
19-
20- TODO
21- ^^^^
10+ When loading some compressed DDS formats, an integer was bitshifted by 24 places to
11+ generate the 32 bits of the lookup table. This was undefined behaviour, and has been
12+ present since Pillow 3.4.0.
2213
2314Deprecations
2415============
@@ -36,10 +27,14 @@ an :py:class:`PIL.ImageFile.ImageFile` instance.
3627API Changes
3728===========
3829
39- TODO
40- ^^^^
30+ ``append_images `` no longer requires ``save_all ``
31+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32+
33+ Previously, ``save_all `` was required to in order to use ``append_images ``. Now,
34+ ``save_all `` will default to ``True `` if ``append_images `` is not empty and the format
35+ supports saving multiple frames::
4136
42- TODO
37+ im.save("out.gif", append_images=ims)
4338
4439API Additions
4540=============
@@ -73,11 +68,3 @@ Compressed DDS images can now be saved using a ``pixel_format`` argument. DXT1,
7368DXT5, BC2, BC3 and BC5 are supported::
7469
7570 im.save("out.dds", pixel_format="DXT1")
76-
77- Other Changes
78- =============
79-
80- TODO
81- ^^^^
82-
83- TODO
You can’t perform that action at this time.
0 commit comments