Results 1568 comments of 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...

Hi @PHY3PAGEJ, Sorry for the delay in responding. Try adding an alpha. I see: ![x](https://user-images.githubusercontent.com/580843/235127152-a46e17e1-b85d-41a6-9aed-8592c0b9b2dc.png) Here's a workspace that does the join: http://www.rollthepotato.net/~john/join.ws It looks like this: ![image](https://user-images.githubusercontent.com/580843/235127472-3b4de211-df59-44b0-95fc-f66eaf423a7f.png) 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 =...