mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-09 19:52:30 +02:00
Add blur and sharpening
This commit is contained in:
10
vips.h
10
vips.h
@@ -180,6 +180,16 @@ vips_smartcrop_go(VipsImage *in, VipsImage **out, int width, int height) {
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
vips_gaussblur_go(VipsImage *in, VipsImage **out, double sigma) {
|
||||
return vips_gaussblur(in, out, sigma, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
vips_sharpen_go(VipsImage *in, VipsImage **out, double sigma) {
|
||||
return vips_sharpen(in, out, "sigma", sigma, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
vips_extract_area_go(VipsImage *in, VipsImage **out, int left, int top, int width, int height) {
|
||||
return vips_extract_area(in, out, left, top, width, height, NULL);
|
||||
|
Reference in New Issue
Block a user