4 ms·
Emacs can handle JPEG XL files as long as you build it with ImageMagick enabled and ImageMagick is built with JPEG XL support. You can try evaluating (imagemag
by donio 3y ago
Emacs can handle JPEG XL files as long as you build it with ImageMagick enabled and ImageMagick is built with JPEG XL support.
You can try evaluating (imagemagick-types) to see if it's enabled. If it fails with "void-function" that means that your Emacs was not built with ImageMagick enabled. If it returns a list of file types but the list doesn't contain "JXL" then your libMagick might be too old or not compiled with JPEG XL support.
- TacticalCoder 3y agoAh that's interesting, I wasn't aware. I'll try that and recompile if needed, thanks a huge lot for the info!
- TacticalCoder 3y ago> ... then your libMagick might be too old I did check: I'm running the latest Debian stable, Bookworm, which basically just came out and it ships ImageMagick 6.9.11 but apparently JPEG XL support was only added in 7.0.10. Oh the joy of running Debian! (I'll see if I bump ImageMagick to a more recent version or not).