Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support raw rgba8888 for DDS #4760

Merged
merged 1 commit into from Oct 15, 2020
Merged

Support raw rgba8888 for DDS #4760

merged 1 commit into from Oct 15, 2020

Conversation

qiankanglai
Copy link
Contributor

Changes proposed in this pull request:

  • Support for RGBA8888 for DDS.

src/PIL/DdsImagePlugin.py Outdated Show resolved Hide resolved
@radarhere
Copy link
Member

Could you add a test that fails without this change, and passes with it?

@radarhere radarhere changed the title support raw rgba8888 for dds Support raw rgba8888 for dds Jul 6, 2020
@qiankanglai
Copy link
Contributor Author

Hi, lint test has been fixed and corresponding tests are provided like dx10_bc7.

@hugovk
Copy link
Member

hugovk commented Oct 14, 2020

@qiankanglai Hi, sorry for the late reply.

What's the source for the photo of Warsaw in https://github.com/qiankanglai/Pillow/blob/dds-rgba8888/Tests/images/argb-32bpp_MipMaps-1.png?

image

Is it copyright or can it be released under the Pillow licence? Same questions for the other images.

@qiankanglai
Copy link
Contributor Author

@hugovk Hi, I just convert the file from existing ones https://github.com/qiankanglai/Pillow/blob/dds-rgba8888/Tests/images/bc7-argb-8bpp_MipMaps-1.png (just format matters). So sorry for not knowing where it comes from but I guess it's ok for existing ones.

@hugovk hugovk merged commit b074d87 into python-pillow:master Oct 15, 2020
@hugovk
Copy link
Member

hugovk commented Oct 15, 2020

Thank you for the PR!

@radarhere radarhere changed the title Support raw rgba8888 for dds Support raw rgba8888 for DDS Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants