Vips.Image.gamma (original) (raw)
Method
VipsImagegamma
Declaration [src]
int
vips_gamma (
VipsImage* in,
VipsImage** out,
...
)
Description [src]
Calculate in ** (1 / exponent), normalising to the maximum range of the input type. For float types use 1.0 as the maximum.
Optional arguments
exponent:gdouble, gamma, default 1.0 / 2.4
This method is not directly available to language bindings.
Parameters
out
Type: VipsImage
Output image.
| The argument will be set by the function. |
|---|
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
...
Type: ``
NULL-terminated list of optional named arguments.
Return value
Type: int
0 on success, -1 on error.