|
|
|
@ -16,7 +16,7 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#if (VIPS_MAJOR_VERSION == 7 && VIPS_MINOR_VERSION < 41)
|
|
|
|
#if (VIPS_MAJOR_VERSION == 7 && VIPS_MINOR_VERSION < 41)
|
|
|
|
/* we need math.h for ceil() in vips__gaussblur */
|
|
|
|
/* we need math.h for ceil() in vips_gaussblur_bridge */
|
|
|
|
#include <math.h>
|
|
|
|
#include <math.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define VIPS_ANGLE_D0 VIPS_ANGLE_0
|
|
|
|
#define VIPS_ANGLE_D0 VIPS_ANGLE_0
|
|
|
|
@ -326,7 +326,7 @@ vips_watermark(VipsImage *in, VipsImage **out, WatermarkTextOptions *to, Waterma
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
int
|
|
|
|
vips__gaussblur(VipsImage *in, VipsImage **out, double sigma, double min_ampl) {
|
|
|
|
vips_gaussblur_bridge(VipsImage *in, VipsImage **out, double sigma, double min_ampl) {
|
|
|
|
#if (VIPS_MAJOR_VERSION == 7 && VIPS_MINOR_VERSION < 41)
|
|
|
|
#if (VIPS_MAJOR_VERSION == 7 && VIPS_MINOR_VERSION < 41)
|
|
|
|
return vips_gaussblur(in, out, ceil(sigma), NULL);
|
|
|
|
return vips_gaussblur(in, out, ceil(sigma), NULL);
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
|