mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 01:46:18 -07:00
GammaFilter
This commit is contained in:
parent
15cd115607
commit
f67988d37b
5 changed files with 40 additions and 0 deletions
5
vips.h
5
vips.h
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue