diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 0b4f0eb85..fd133c5d4 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -60,7 +60,7 @@ from aqt.utils import ( ) from aqt.webview import AnkiWebView, AnkiWebViewKind -pics = ("jpg", "jpeg", "png", "tif", "tiff", "gif", "svg", "webp", "ico", "avif") +pics = ("jpg", "jpeg", "png", "gif", "svg", "webp", "ico", "avif") audio = ( "3gp", "aac", diff --git a/rslib/src/image_occlusion/imagedata.rs b/rslib/src/image_occlusion/imagedata.rs index f55e8f0d8..829fe487e 100644 --- a/rslib/src/image_occlusion/imagedata.rs +++ b/rslib/src/image_occlusion/imagedata.rs @@ -154,7 +154,7 @@ impl Collection { fn is_image_file(&mut self, path: &PathBuf) -> Result { let file_path = Path::new(&path); let supported_extensions = [ - "jpg", "jpeg", "png", "tif", "tiff", "gif", "svg", "webp", "ico", "avif", + "jpg", "jpeg", "png", "gif", "svg", "webp", "ico", "avif", ]; if file_path.exists() {