Repository navigation
Commit 208e5e3
fix(showcase): bring 19 previews to the 1200x675 spec and enforce hero/preview sizes (#217)
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
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 29edf01 commit 208e5e3
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 | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments