Results 1568 comments of John Cupitt

Sample JXL HDR image for testing: https://github.com/immich-app/immich/files/14755028/JPEG.XL.HDR.Test.zip libvips loads this as a ushort, it looks fine, I guess the HDR element is in the transfer function. There's a synthetic profile...

We'll should probably make libvips ICC import fall back to perceptual if relative is not supported.

Useful JXL HDR test images: https://sneyers.info/hdrtest/

With libjxl 0.11.1 in release mode and the current version of this PR I see: ``` $ /usr/bin/time -f %M:%e vips copy st-francis.jpg x.jxl memory: high-water mark 3.99 GB 5475176:59.19...

> We could also consider keeping it behind a oneshot flag (like jp2kload), but I'm not sure if that's worth it. Yes, having the old save path still there is...

I've been looking into the macos crashes and it seems to be `g_mutex_clear()`. For example, running `vips magickload` will make a `magick7` object, then dispose it without running `_build()`. This...

This seems to reproduce it: ```C // compile with // cc mutex.c `pkg-config glib-2.0 --cflags --libs` #include #include GMutex lock_static; int main(void) { GMutex lock_stack = { 0 }; printf("clearing...

I made an issue here: https://gitlab.gnome.org/GNOME/glib/-/issues/3682

I found a bit more out: it happens when glib is NOT configured to use the native glib mutex and instead uses the platform POSIX mutex. It doesn't check for...

The glib devs clarified the docs: if you have a mutex in static storage, it's ok to not init or clear it. It'll leak with some mutex backends, but since...