mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-27 16:33:15 +03:00
Merge pull request #8824 from radarhere/dds_docs
Added release notes for #8807
This commit is contained in:
commit
b40bcab6dd
|
@ -93,6 +93,12 @@ DXT1 and DXT5 pixel formats can be read, only in ``RGBA`` mode.
|
||||||
in ``P`` mode.
|
in ``P`` mode.
|
||||||
|
|
||||||
|
|
||||||
|
.. versionadded:: 11.2.0
|
||||||
|
DXT1, DXT3, DXT5, BC2, BC3 and BC5 pixel formats can be saved::
|
||||||
|
|
||||||
|
im.save(out, pixel_format="DXT1")
|
||||||
|
|
||||||
|
|
||||||
DIB
|
DIB
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,14 @@ libjpeg library, and what version of MozJPEG is being used::
|
||||||
features.check_feature("mozjpeg") # True or False
|
features.check_feature("mozjpeg") # True or False
|
||||||
features.version_feature("mozjpeg") # "4.1.1" for example, or None
|
features.version_feature("mozjpeg") # "4.1.1" for example, or None
|
||||||
|
|
||||||
|
Saving compressed DDS images
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Compressed DDS images can now be saved using a ``pixel_format`` argument. DXT1, DXT3,
|
||||||
|
DXT5, BC2, BC3 and BC5 are supported::
|
||||||
|
|
||||||
|
im.save("out.dds", pixel_format="DXT1")
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user