Skip to content

Commit b40bcab

Browse files
authored
Merge pull request #8824 from radarhere/dds_docs
Added release notes for #8807
2 parents e1bf0f6 + 700d36f commit b40bcab

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

docs/handbook/image-file-formats.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ DXT1 and DXT5 pixel formats can be read, only in ``RGBA`` mode.
9393
in ``P`` mode.
9494

9595

96+
.. versionadded:: 11.2.0
97+
DXT1, DXT3, DXT5, BC2, BC3 and BC5 pixel formats can be saved::
98+
99+
im.save(out, pixel_format="DXT1")
100+
101+
96102
DIB
97103
^^^
98104

docs/releasenotes/11.2.0.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ libjpeg library, and what version of MozJPEG is being used::
6666
features.check_feature("mozjpeg") # True or False
6767
features.version_feature("mozjpeg") # "4.1.1" for example, or None
6868

69+
Saving compressed DDS images
70+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71+
72+
Compressed DDS images can now be saved using a ``pixel_format`` argument. DXT1, DXT3,
73+
DXT5, BC2, BC3 and BC5 are supported::
74+
75+
im.save("out.dds", pixel_format="DXT1")
76+
6977
Other Changes
7078
=============
7179

0 commit comments

Comments
 (0)