dds_png: decode R8G8 integer previews #2319
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2319
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2319"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ZroIsHere on GitHub · 2026-11-26 13:46 UTC · original
ZroIsHere:fix/dds-png-rg8-integer→main· +33 −2 · 2 files · 1 commits · merged 2026-11-26 18:28 UTCSummary
Add DDS preview decoding for DXGI R8G8_UINT (format 50) and R8G8_SINT (format 52). UINT channel bytes map directly to PNG red and green. SINT values map from the signed integer range [-128, 127] to [0, 255] by adding 128. Blue is zero and alpha is opaque.
The decoder validates row pitch and truncated payloads. Update the tex_export.py help text to include both formats.
Validation
@aslan2142 on GitHub · 2026-11-26 18:29 UTC · original
Merged through the integration PR #2394 (DDS preview formats batch), as head
81df9f5ed, with a merge commit, so your commits stay yours.Thanks @ZroIsHere.
AI-assisted (Claude Code, Claude Opus 5.5 and Claude Fable 5.2)