Commit 26352e7
fix(showcase): bring 19 previews to the 1200x675 spec and enforce hero/preview sizes
CLAUDE.md fixes preview webps at 1200x675 and heroes at 1280x720. All 51
example previews conformed, but 19 of 28 showcase previews shipped at the
hero size, and nothing checked either.
- Downscale the 19 (same 16:9 aspect, Lanczos, webp q90); no re-render.
- tests/check_gallery_images.py asserts both sizes for every gallery.json
entry. Stdlib only: it parses the WebP RIFF header (VP8, VP8L, VP8X), so
it runs on the bare Validate runner. Its parser agrees with Pillow on all
158 images.
Closes #214
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: TMHSDigital <[email protected]>1 parent 6da22c9 commit 26352e7
21 files changed
Lines changed: 84 additions & 0 deletions
File tree
- .github/workflows
- showcase
- anvil
- campfire
- cart
- chopping-block
- crate-stack
- fence-kit
- hand-pump
- hitching-post
- market-stall
- park-bench
- signpost
- stone-archway
- stone-well
- street-lantern
- terrain-scatter
- wall-torch
- watchtower
- water-trough
- wooden-ladder
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
| |||
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments