From 477c412875f9987bc2776295eae20b01be00edb1 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 13 Jul 2023 11:17:10 +0100 Subject: [PATCH] Reduce speed in avif encoding. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ea21857..55546fa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -229,7 +229,7 @@ async fn index(req: HttpRequest) -> Result> { let res = Encoder::new() .with_quality(80f32) - .with_speed(4) + .with_speed(7) .encode_rgb(buffer); return if let Ok(res) = res {