Repository navigation
Decode a grid's alpha when the grid itself carries it - #12
Merged
Merged
Conversation
Apple writes a grid's alpha as a grid of its own, linked to the color grid by auxl, rather than one auxiliary image per tile, and that alpha was dropped. The grid's own auxiliary alpha is now taken first, then the per-tile alpha. testdata/grid_alpha.heic is a synthetic image saved by sips; its planes digest is libheif's (libde265 1.1.3).
Owner
|
Merged, thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decode a grid's alpha when it is an auxiliary image of the grid itself. Apple wallpaper layers store alpha as a grid linked to the color grid, so it was dropped. Checks the grid's own auxl first, then falls back to per-tile alpha.