Method
VipsImageget_gainmap
Declaration [src]
VipsImage*
vips_image_get_gainmap (
VipsImage* image
)
Description [src]
If the image has an attached "gainmap", return that. If there’s a
compressed "gainmap-data", decompress, attach to the image, and return that.
The result is owned by image and must not be unreffed. Don’t call this
function on the same image from two different threads!
Return value
Type: VipsImage
The gainmap image, if present, or NULL.
| The returned data is owned by the instance. |
The return value can be NULL. |