Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added DDS support for uncompressed L and LA images#6820

Merged
hugovk merged 4 commits into
python-pillow:mainfrom
radarhere:dds_l
Dec 26, 2022
Merged

Added DDS support for uncompressed L and LA images#6820
hugovk merged 4 commits into
python-pillow:mainfrom
radarhere:dds_l

Conversation

@radarhere

Copy link
Copy Markdown
Member

#6486 refactors the DDS plugin, but also adds support for reading and writing uncompressed L and LA images.

This PR extracts that new functionality, without the refactoring.

In https://learn.microsoft.com/en-us/windows/win32/direct3ddds/dds-pixelformat, DDPF_LUMINANCE is described as

Used in some older DDS files for single channel color uncompressed data

It

Can be combined with DDPF_ALPHAPIXELS for a two channel DDS file.

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, let's also add to release notes.

@radarhere

Copy link
Copy Markdown
Member Author

Ok, I've added a commit for that.

@hugovk hugovk merged commit 0a19b34 into python-pillow:main Dec 26, 2022
@radarhere radarhere deleted the dds_l branch December 26, 2022 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants