mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-16 23:32:01 +03:00
Added release notes for #8807
This commit is contained in:
parent
e1bf0f647f
commit
700d36f2d2
|
@ -93,6 +93,12 @@ DXT1 and DXT5 pixel formats can be read, only in ``RGBA`` 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
|
||||
^^^
|
||||
|
||||
|
|
|
@ -66,6 +66,14 @@ libjpeg library, and what version of MozJPEG is being used::
|
|||
features.check_feature("mozjpeg") # True or False
|
||||
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
|
||||
=============
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user