Skip to content

Replace the fixed-size preview PNGs with a transparent webp master - #262

Open
moWerk wants to merge 1 commit into
AsteroidOS:masterfrom
moWerk:watchface-previews-webp
Open

Replace the fixed-size preview PNGs with a transparent webp master#262
moWerk wants to merge 1 commit into
AsteroidOS:masterfrom
moWerk:watchface-previews-webp

Conversation

@moWerk

@moWerk moWerk commented Aug 5, 2026

Copy link
Copy Markdown
Member

Replaces every community face's five presized opaque preview PNGs (112/128/144/160/182) with a single transparent webp master.

The store needs the master to show a face without falling back to rendering it live, and the presized PNGs are no longer needed because the device sized previews are auto generated on device by the launcher preview renderer (AsteroidOS/asteroid-launcher#293). The masters were produced by the reworked watchface script (#261).

424 PNGs removed, 77 webp masters added, one per community face.

This was executed by an LLM under my direction. I have fully understood and take authorship of the changes.

Two notes for review. arc's five per-resolution preview sets carried nine basenames each (45 files) for its design variants; they collapse into the single top-level master deliberately, since the store only surfaces the arc.qml entry point. And the old set contained 112/Arc.png next to 112/arc.png, which differ only in case and made the repository impossible to check out cleanly on case-insensitive filesystems; deleting the sets incidentally fixes that.

The masters are reproducible from the committed tooling: ./watchface capture <face> (or captureall) regenerates them. A face whose visible feature depends on the clock, such as prominent-seconds and its seconds arc, is captured at a time that shows that feature rather than at a time where it reads as absent.

Ship one transparent webp master per face. The store needs this master
to show a face without falling back to rendering it live. It replaces
the five presized opaque PNGs, which are no longer shipped because the
device sized previews are now auto generated on device by the launcher
preview renderer (AsteroidOS/asteroid-launcher#293).
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.

1 participant