webpsave: when minimising the size of an animated WebP image,

allow the encoder to evaluate and mix lossy+lossless frames,
which minimises the size of the file by a further ~5%.

See f29bf582df
This commit is contained in:
Lovell Fuller 2020-06-30 20:00:42 +01:00
parent 2b2fabcd3b
commit 41961f138a
1 changed files with 1 additions and 0 deletions

View File

@ -310,6 +310,7 @@ write_webp_anim( VipsWebPWrite *write, VipsImage *image, int page_height )
}
anim_config.minimize_size = write->min_size;
anim_config.allow_mixed = write->min_size;
anim_config.kmin = write->kmin;
anim_config.kmax = write->kmax;