expand intro to resample

This commit is contained in:
John Cupitt 2016-11-21 13:10:06 +00:00
parent e213a9ded6
commit 5644296b1c

View File

@ -64,7 +64,15 @@
* sort of 2D transform which preserves straight lines; so any combination of
* stretch, sheer, rotate and translate. You supply an interpolator for it to
* use to generate pixels, see vips_interpolate_new(). It will not produce
* good results for very large shrinks.
* good results for very large shrinks: you'll see aliasing.
*
* vips_reduce() is like vips_affine(), but it can only shrink images, it can't
* enlarge, rotate, or skew. It's very fast and uses an adaptive kernel for
* interpolation. Again, it will give poor results for large size reductions.
*
* vips_shrink() is a fast block shrinker. It can quickly reduce images by
* large integer factors. It will give poor results for small size reductions:
* again, you'll see aliasing.
*
* Next, vips_resize() specialises in the common task of image reduce and
* enlarge. It strings together combinations of vips_shrink(), vips_reduce(),