Skip to content

Commit

Permalink
Added versionadded
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 30, 2023
1 parent 3caae28 commit 114aadd
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions docs/handbook/image-file-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,35 @@ DDS
^^^

DDS is a popular container texture format used in video games and natively supported
by DirectX. Uncompressed RGB and RGBA can be read, and (since 8.3.0) written. DXT1,
DXT3 (since 3.4.0) and DXT5 pixel formats can be read, only in ``RGBA`` mode. Since
10.1.0, 8-bit color indexed files can be read as ``P`` mode images.
by DirectX.

DXT1 and DXT5 pixel formats can be read, only in ``RGBA`` mode.

.. versionadded:: 3.4.0
DXT3 images can be read in ``RGB`` mode and DX10 images can be read in
``RGB`` and ``RGBA`` mode.

.. versionadded:: 6.0.0
Uncompressed ``RGBA`` images can be read.


.. versionadded:: 8.3.0
BC5S images can be opened in ``RGB`` mode, and uncompressed ``RGB`` images
can be read. Uncompressed data can also be saved to image files.


.. versionadded:: 9.3.0
ATI1 images can be opened in ``L`` mode and ATI2 images can be opened in
``RGB`` mode.

.. versionadded:: 9.4.0
Uncompressed ``L`` ("luminance") and ``LA`` images can be opened and saved.


.. versionadded:: 10.1.0
BC5U can be read in ``RGB`` mode, and 8-bit color indexed images can be read
in ``P`` mode.


DIB
^^^
Expand Down

0 comments on commit 114aadd

Please sign in to comment.