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

Added DXT1 encoding when saving DDS images #8807

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

radarhere
Copy link
Member

Helps #4864

With this,

im.save("out.dds", pixel_format="DXT1")

will save DDS images in the DXT1 format, rather than being uncompressed. See https://learn.microsoft.com/en-us/windows/win32/direct3d10/d3d10-graphics-programming-guide-resources-block-compression#bc1 for documentation (DXT1 is also known as BC1).

@radarhere radarhere changed the title Added DXT1 encoding Added DXT1 encoding when saving DDS images Mar 8, 2025
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.

1 participant