- Shipped
- September 24, 2026 at 10:42 PM UTC
- Author
- Kamo
- Commit
- 45cfe19
Org logos are uploaded once and drawn everywhere at 24-120px, and every surface downloaded the original: crm's logo-full.png is 2.2 MB (its .svg stand-in 2.95 MB, which is what the email composer links at 40-48px), its traced lifestyle SVG 4.3 MB. LogoVariantService renders any logo (SVG via Batik, raster via ffmpeg with a pinned demuxer) to a height ladder 32..1024 in both PNG (email) and lossy WebP with alpha (web, mobile), never upscaling a raster and capping width at 4096. One ffmpeg process per logo. The endpoint answers a zip of h<rung>.png/.webp + manifest.json. SVG: embedded data: images are allowed (Figma exports are one), every other resource and all scripts are refused; a plain SVG 1.1 DOCTYPE (Illustrator) is dropped, one with an internal subset is refused. Measured on real logos: crm logo-full h128 = 67 KB PNG / 19 KB WebP.
