View Issue Details

IDProjectCategoryView StatusLast Update
0000405fileGeneralpublic2022-11-15 23:04
Reportereagr Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.43 
Summary0000405: Wrong mime for JPEG XL images
DescriptionThe mime type for JXL images has been incorrectly redefined as image/x-jxl by the b62c39d1e13a7547e634ce36272f94f3fd39cbc4 commit

Instead, it should be defined as image/jxl
- As such it used to be before the aforementioned commit
- As provided by the URL in the magic/Magicdir/jpeg comment to the JXL-related definitions: http://fileformats.archiveteam.org/wiki/JPEG_XL
- As there is no definition for image/x-jxl anywhere in the official JPEG XL reference implementation. There is, however, an image/jxl mime definition:
https://github.com/libjxl/libjxl/blob/main/plugins/mime/image-jxl.xml

The mistake causes image viewers such as XFCE Ristretto, that rely on file, to be unable to load JXL images because the gdk-pixbuf loader from the JXL reference implementation which they also employ only understands the image/jxl mime.
https://github.com/libjxl/libjxl/tree/main/plugins/gdk-pixbuf
Steps To Reproduce- Have installed ristretto and libjxl, jxl-pixbuf-loader as well if the distro provides the pixbuf loader in a separate package
- Try open a JPEG XL image with ristretto

Reproducible on a fresh archlinux install.
Additional InformationSetting the JXL mime in magic/Magicdir/jpeg back to image/jxl makes things work again.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-11-15 23:04 eagr New Issue