From 220f19fe4608e24c820d6c733052f05295308949 Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sat, 20 Sep 2025 19:43:52 +0200 Subject: [PATCH] add additional image format --- cbz/constants.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cbz/constants.py b/cbz/constants.py index 7ba0542..d0ff1b6 100644 --- a/cbz/constants.py +++ b/cbz/constants.py @@ -5,12 +5,14 @@ from langcodes import Language XML_NAME = 'ComicInfo.xml' IMAGE_FORMAT = { - '.jpeg', '.jpg', # Joint Photographic Experts Group - '.png', # Portable Network Graphics - '.gif', # Graphics Interchange Format - '.bmp', # Bitmap Image File - '.tiff', '.tif', # Tagged Image File Format - '.webp' # Web Picture Format + '.jpeg', '.jpg', # JPEG (Joint Photographic Experts Group) + '.png', # PNG (Portable Network Graphics) + '.gif', # GIF (Graphics Interchange Format) + '.bmp', # BMP (Bitmap Image File) + '.tiff', '.tif', # TIFF (Tagged Image File Format) + '.webp', # WebP (Web Picture Format, by Google) + '.jxl', # JPEG XL (Next-generation JPEG format) + '.avif' # AVIF (AV1 Image File Format, based on AV1 codec) }