Shrink less, affine more, maintain performance #75

Affects interpolators with 4x4+ window size

e.g. Bicubic, LBB, Nohalo

Introduces blur before large affine

to improve large PNG reductions
This commit is contained in:
Lovell Fuller
2014-11-07 20:04:07 +00:00
parent 7537adf399
commit 47927ef47d
4 changed files with 53 additions and 6 deletions

View File

@@ -43,4 +43,11 @@ sharp_init_image_from_file(VipsImage **image, char const *file, VipsAccess const
bool
sharp_image_has_alpha(VipsImage *image);
/*
Returns the window size for the named interpolator. For example,
a window size of 3 means a 3x3 pixel grid is used for the calculation.
*/
int
sharp_interpolator_window_size(char const *name);
#endif