reduced size
This commit is contained in:
parent
dab12b9b44
commit
4206f285ab
|
@ -86,7 +86,7 @@ pub async fn make_gif(
|
||||||
draw: Arc<Mutex<QuickDraw>>,
|
draw: Arc<Mutex<QuickDraw>>,
|
||||||
) -> Result<Vec<u8>, Error> {
|
) -> Result<Vec<u8>, Error> {
|
||||||
const STEP: usize = 30;
|
const STEP: usize = 30;
|
||||||
const RADIUS: f32 = 10.0;
|
const RADIUS: f32 = 9.0;
|
||||||
let image = image::io::Reader::new(Cursor::new(input.to_vec().as_slice()))
|
let image = image::io::Reader::new(Cursor::new(input.to_vec().as_slice()))
|
||||||
.with_guessed_format()
|
.with_guessed_format()
|
||||||
.map_err(|_| Error::CantGuessFormat)?
|
.map_err(|_| Error::CantGuessFormat)?
|
||||||
|
|
Loading…
Reference in a new issue