Support for JPEG XL (.jxl) image uploads and renditions in Wagtail. JPEG XL delivers archival-quality images at significantly lower file sizes than JPEG and PNG, making it a compelling upload and storage format. This will become more essential with improving browser support, so we can achieve tangible reductions in web pages weight with the new format.
Intended outcome
- Native JPEG-XL upload, decoding, and encoding support in Willow, via the
pillow_jxl plugin or equivalent
- Correct file extension and MIME type registration through Wagtail's file validation pipeline, so
.jxl uploads work out of the box
- Creation of JPEG XL renditions, similar to our WebP and AVIF support, 10-15% smaller images for our users
- Documentation of the new format
More information
Support for JPEG XL (.jxl) image uploads and renditions in Wagtail. JPEG XL delivers archival-quality images at significantly lower file sizes than JPEG and PNG, making it a compelling upload and storage format. This will become more essential with improving browser support, so we can achieve tangible reductions in web pages weight with the new format.
Intended outcome
pillow_jxlplugin or equivalent.jxluploads work out of the boxMore information