Reduce speed in avif encoding.

This commit is contained in:
Kavin 2023-07-13 11:17:10 +01:00
parent 85a4beeb54
commit 477c412875
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F

View File

@ -229,7 +229,7 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
let res = Encoder::new()
.with_quality(80f32)
.with_speed(4)
.with_speed(7)
.encode_rgb(buffer);
return if let Ok(res) = res {