John Cupitt
John Cupitt
> val image = loadImage("path/to/ultra/hdr.jpg") // SDR image with the gain map in metadata That won't work well with the libvips design -- `new_from_file` is supposed to always be quick...
It's not discarded, just snoozing :) Maybe I'll find time to work on it again later this year. Or someone else could pick it up, of course.
@infacto yes, though it's blocked on the remapper not supporting a generated palette, unfortunately. This needs a small change to an upstream project.
Hi @gregbenz, thanks for the feedback. Yes, I think that's what's being proposed here. libvips can't automatically process sdr + gainmap images in the general case, but it can make...
Exactly @cromefire, the current proposal is: ``` $ vips copy ultra-hdr.jpg x.jxl # you get an SDR JXL image $ vips copy ultra-hdr.jpg[hdr] x.jxl # you get HDR ``` With...
Sorry, I should have updated this issue, I've been looking at it. The problem is that `cache` is based on `sinkscreen`, and that swallows errors (you don't want screen repainting...
I deprecated "cache", let's close.
Hi @PHY3PAGEJ, Sorry for the delay in responding. Try adding an alpha. I see:  Here's a workspace that does the join: http://www.rollthepotato.net/~john/join.ws It looks like this:  Drop your...
> extract the RGB bands and leave the alpha band using: You can write this as: ```python imgC = mosaic[0:3] ``` ie. take the first three bands from `mosaic`. Hang...
Sorry, I got distracted by another issue. This program seems to work: ```python #!/usr/bin/env python import sys import pyvips left = pyvips.Image.new_from_file(sys.argv[1]) right = pyvips.Image.new_from_file(sys.argv[2]) left = left.addalpha() right =...