mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 14:46:16 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user