Support for decoding `DXT1` with alpha
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- computer-graphics
Research direction
No file or test is named. Start by locating the DXT1 decoding entry point and checking how decoded pixel alpha is assigned. Done means pure-black pixels receive alpha 0, other pixels receive alpha 255, and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Description
DXT1 textures can "carry" alpha information using black pixels, which means that any pixel that is pure black has alpha of 0 and any other pixel has alpha 255.
I couldn't seem to find a way to set this behavior in the library.
Here is an example of what it looks like when DXT1 textures aren't decoded with alpha (the textures in the image were decoded by this library and then converted to PNG using ImageSharp):

- Dominant language
- C#
- Stars
- 67
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SixLabors/ImageSharp.Textures
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
KTX2 support Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
SixLabors/ImageSharp.Textures#3 · 5 comments ·
All issues in SixLabors/ImageSharp.Textures
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·