Skip to content

Decode a grid's alpha when the grid itself carries it - #12

Merged
gen2brain merged 1 commit into
gen2brain:mainfrom
abrignoni:grid-alpha-aux
Nov 11, 2026
Merged

gen2brain merged 1 commit into
gen2brain:mainfrom
abrignoni:grid-alpha-aux

Conversation

@abrignoni

Copy link
Copy Markdown
Contributor

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.

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).
@gen2brain
gen2brain merged commit ab83c93 into gen2brain:main Nov 11, 2026
4 checks passed
@gen2brain

Copy link
Copy Markdown
Owner

Merged, thanks.

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.

2 participants