mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #2322] [CLOSED] dds_png: decode DXGI R8_UNORM previews #2328
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2328
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2322
Author: @ZroIsHere
Created: 11/26/2026
Status: ❌ Closed
Base:
main← Head:fix/dds-png-r8-unorm📝 Commits (1)
dbc5470dds_png: decode DXGI R8_UNORM previews📊 Changes
1 file changed (+11 additions, -5 deletions)
View changed files
📝
tools/dds_png.py(+11 -5)📄 Description
Summary
Add DDS preview decoding for DXGI R8_TYPELESS and R8_UNORM (formats 60 and 61). The stored byte is emitted as red, with green and blue set to zero and alpha set to 255.
The decoder uses the existing single-channel path, including row-pitch and truncated-payload validation.
Validation
git diff --check🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.