Commit 62d1425
Palette-quantize generated brand PNGs (#25)
* docs: design brand PNG optimization
Palette-quantize generated PNGs (Pillow FASTOCTREE) in raster.py — ~70-80%
smaller, visually lossless for flat art, alpha preserved on transparent marks.
SVGs and external optimizers out of scope.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs: implementation plan for brand PNG optimization
Two tasks: add Pillow + the FASTOCTREE quantize step in raster.py (with tests and
regenerated PNGs), then docs/finalize.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feat(brand): palette-quantize generated PNGs (Pillow FASTOCTREE)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* test: convert to RGBA to avoid PIL tRNS warning
* docs(brand): document PNG quantization
* docs: correct uv.lock note in png-optimization spec (repo tracks it)
* docs: scope the PNG shrink claim to large assets
* build: sync optimized social card into docs/assets (served og:image)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent eb1504f commit 62d1425
60 files changed
Lines changed: 517 additions & 0 deletions
File tree
- architecture
- brand
- build
- org
- projects
- db-retry
- eof-fixer
- fastapi-sqlalchemy-template
- faststream-concurrent-aiokafka
- faststream-outbox
- faststream-redis-timers
- httpware
- lite-bootstrap
- litestar-sqlalchemy-template
- modern-di-fastapi
- modern-di-faststream
- modern-di-litestar
- modern-di-pytest
- modern-di-typer
- modern-di
- semvertag
- that-depends
- docs/assets
- planning/changes/2026-06-30.03-png-optimization
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
5 | 20 | | |
6 | 21 | | |
7 | 22 | | |
| |||
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
| 38 | + | |
23 | 39 | | |
0 commit comments