jcupitt / vipsdisp

Tiny libvips / gtk+4 image viewer
MIT License
143 stars 11 forks source link

JPEG XL Support: Does not support container format. #5

Closed Fraetor closed 3 years ago

Fraetor commented 3 years ago

This viewer does not open JXL files that have a container, instead returning the error VipsForeignLoad: source is not a known format.

It does work for images with the container removed, or which where created without the container (which is the default for encoding jxl images from pixels.)

Here is a working example: (Remove .txt extension, its only there to allow GitHub upload) no-container.jxl.txt Here is a non-working example: container.jxl.txt

jcupitt commented 3 years ago

Oh hey, thanks @Fraetor. I'll have a look.

jcupitt commented 3 years ago

OK, fixed in libvips master, thank you for pointing out this dumb thing.