John Cupitt ba0dea001d sort out premultiply rules for upsizing
vips_resize() uses vips_affine() for upsizing and vips_reduce() for
downsizing. Affine automaticaly does a vips_premultiply() for images
with an alpha channel, but reduce does not. This meant that we could
sometimes premultiply twice.

This patch adds a "premultiplied" flag for affine which turns automatic
premultiuplication off, vips_resize() uses this to block affine's auto
premul feature, and the resize docs are clarified to stress that the
operation does not do premultiplication for you.

See https://github.com/libvips/libvips/issues/1629
2020-05-19 14:31:34 +01:00
..
2014-10-08 17:51:07 +01:00
2015-11-22 10:29:45 +00:00
2016-11-02 09:29:19 +00:00
2019-05-13 22:05:41 +01:00
2016-03-24 16:06:31 +00:00
2017-10-09 11:48:11 +01:00
2017-12-04 13:42:31 +00:00
2020-05-10 18:45:27 +01:00
2017-12-04 13:42:31 +00:00
2020-01-03 08:59:50 +00:00
2020-01-02 15:32:43 +00:00
2018-03-10 18:45:39 +00:00
2020-05-10 18:45:27 +01:00
2017-12-06 22:04:11 +00:00
2016-03-24 16:06:31 +00:00