Method
VipsImageuhdrsave
Declaration [src]
int
vips_uhdrsave (
VipsImage* in,
const char* filename,
...
)
Description [src]
Save an image as UltraHDR.
If an image is sRGB and has a gainmap, it will be saved as UltraHDR with no gainmap recomputation.
If the image is scRGB and has a gainmap, a base image will be computed and it will be saved as UltraHDR.
If the image is scRGB and has no gainmap, one will be computed at a
gainmap_scale_factor of the base image.
This is slow and takes a lot of memory.
::: tip “Optional arguments”
* Q: gint, quality factor
* gainmap_scale_factor: gint, scale factor of base image to gainmap
::: seealso
vips_image_write_to_file(), vips_uhdrload().