Skip to content

Instantly share code, notes, and snippets.

@thibaudcolas
Created July 7, 2026 09:23
Show Gist options
  • Select an option

  • Save thibaudcolas/42ed3b3fce27ecbde025c960766dba7e to your computer and use it in GitHub Desktop.

Select an option

Save thibaudcolas/42ed3b3fce27ecbde025c960766dba7e to your computer and use it in GitHub Desktop.
JPEG XL example of Wagtail roadmap triage

Triage: JPEG XL image support

Assessed against selection criteria + product strategy v1.0 on 2026-07-07.

πŸ”οΈ JPEG XL image support

Add JPEG XL (JXL) encoding/decoding to Willow, then expose the format in Wagtail core for image uploads and renditions, enabling ~15% smaller file sizes than AVIF, reducing bandwidth and carbon footprint with minimal user effort.

Classification: Pillar work

Gates

Gate Result Note
G1 Β· AI principles Pass all N/A (no AI dimension)
G2 Β· Ecosystem placement Core Image renditions and upload format support are core infrastructure; format must be available in the {% image %} tag and image system
G3 Β· Maintainability floor Pass Bounded: Willow abstracts codec interaction; Wagtail core change is additive (register new format in allowed list). Follows the same pattern as WebP (#195) and AVIF (part of #44)

Score

Criterion Weight Score (1–5) Weighted Why
1. Strategic fit 25% 4 1.00 MAX of per-pillar below
2. Differentiator reinforcement 15% 4 0.60 Directly advances sustainability differentiator β€” smaller files = lower data transfer = reduced energy use.
3. User demand & adoption 15% 3 0.45 Plausible demand from performance-conscious Wagtail sites; JPEG XL has growing browser support but no documented requests from target-sector orgs.
4. Sponsorship appeal 15% 3 0.45 Generic sponsorship potential through the sustainability/performance angle, similar to past image-format work β€” but no named sponsor identified.
5. Deliverability 15% 4 0.60 Well-scoped: Willow support β†’ Wagtail core format registration. Follows proven pattern from WebP/AVIF. Minor open questions on codec parameters.
6. Maintenance burden (high = low burden) 15% 4 0.60 Negligible in Wagtail core (format list entry); most burden sits in Willow, already maintained.
Overall 100% 3.70 / 5

Per-pillar strategic fit (criterion 1) β€” MAX is the primary pillar:

  • πŸ”οΈ 4 ← MAX (primary) β€” Advances the sustainability commitment named in this pillar ("meeting the emerging Web Sustainability Guidelines") and supports high-quality content delivery with smaller file sizes.
  • πŸͺ’ 1 β€” No identifiable connection to structured data model, integration architecture, or package ecosystem.
  • πŸ› οΈ 1 β€” No connection. Users get better compression automatically, no DX change.
  • 🌳 1 β€” No connection to design principles, contributor experience, or community stewardship.

Position

  • Strategic value (Y) = mean(1, 2, 3) = 3.67
  • Viability (X) = mean(4, 5, 6) = 3.67
  • Bubble (effort): M
  • Quadrant: Medium value Β· Medium viability β†’ Opportunistic / Find a sponsor

Assessment

  • Rationale: JPEG XL support is a natural next step after WebP and AVIF, continuing Wagtail's trajectory of offering best-in-class image compression. The sustainability payoff is real and measurable (~15% less data than AVIF), and the delivery risk is low because Willow already handles the format abstraction. However, the strategic value is modest β€” this incrementally improves an existing capability rather than opening new territory β€” and browser/OS support for JPEG XL is still settling, which weakens the demand signal. It doesn't rise to "schedule now" against higher-impact pillar work, but it's a good candidate for sponsorship from an organisation with sustainability or performance goals.
  • Primary pillar: πŸ”οΈ Future-ready content management.
  • AI principles: Pass, all N/A (no AI dimension).
  • Key assumption to test: That JPEG XL browser and OS adoption reaches a level where serving it alongside existing formats is worth the complexity. If Safari/Chrome/Firefox all ship stable JXL decode in 2026–2027, the demand side strengthens to a 4.
  • Related roadmap items:
  • Suggested labels: media, performance, sustainability β€” media covers image format additions; performance and sustainability capture the two key benefits.
  • Decision: Seek sponsor β€” review by 2027-01-07.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment