Merge pull request #1699 from lovell/webp-anim-allow-mixed

Further reduce animated WebP image size by ~5% when min_size is set
This commit is contained in:
John Cupitt 2020-07-03 00:17:34 +01:00 committed by GitHub
commit b27fc73ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;