From eaa1c038a2f0e3dd1a9409694e27613284bd9f93 Mon Sep 17 00:00:00 2001 From: DarthSim Date: Mon, 7 Feb 2022 16:33:09 +0600 Subject: [PATCH] Fix AVIF speed --- vips/vips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vips/vips.c b/vips/vips.c index d409ae10..d6639923 100644 --- a/vips/vips.c +++ b/vips/vips.c @@ -620,7 +620,7 @@ vips_avifsave_go(VipsImage *in, void **buf, size_t *len, int quality, int speed) "Q", quality, "compression", VIPS_FOREIGN_HEIF_COMPRESSION_AV1, #if VIPS_SUPPORT_AVIF_EFFORT - "effort", speed, + "effort", 9-speed, #elif VIPS_SUPPORT_AVIF_SPEED "speed", speed, #endif