mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-12-14 06:10:35 +05:30
Reduce speed in avif encoding.
This commit is contained in:
parent
85a4beeb54
commit
477c412875
@ -229,7 +229,7 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
|
|||||||
|
|
||||||
let res = Encoder::new()
|
let res = Encoder::new()
|
||||||
.with_quality(80f32)
|
.with_quality(80f32)
|
||||||
.with_speed(4)
|
.with_speed(7)
|
||||||
.encode_rgb(buffer);
|
.encode_rgb(buffer);
|
||||||
|
|
||||||
return if let Ok(res) = res {
|
return if let Ok(res) = res {
|
||||||
|
Loading…
Reference in New Issue
Block a user