Skip to content

Conversation

@radarhere
Copy link
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.

Copy link
Member

@hugovk hugovk left a comment

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
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