From 3a9eda480a677ab6128540da45be936a43ff1191 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Mon, 22 Sep 2025 19:13:26 -0700 Subject: [PATCH] use jpg as extension for all output files --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 26d296e..70832d1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -63,6 +63,7 @@ pub fn output_path(image_path: PathBuf) -> Result { Some(cache) => match xdg_dirs.create_cache_directory(cache) { Ok(mut cache) => { cache.push(image_path.strip_prefix("/").unwrap()); + cache.add_extension("jpg"); Ok(cache) }, Err(e) => Err(e.to_string()),