reduced size

This commit is contained in:
Logan 2024-09-04 21:59:11 -05:00
parent dab12b9b44
commit 4206f285ab

View file

@ -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)?