GammaFilter

This commit is contained in:
sugimotoren 2019-08-01 15:30:44 +09:00
parent 15cd115607
commit f67988d37b
5 changed files with 40 additions and 0 deletions

5
vips.h
View file

@ -561,3 +561,8 @@ int vips_find_trim_bridge(VipsImage *in, int *top, int *left, int *width, int *h
return 0;
#endif
}
int vips_gamma_bridge(VipsImage *in, VipsImage **out, double exponent)
{
return vips_gamma(in, out, "exponent", 1.0 / exponent, NULL);
}