mirror of
https://github.com/hyugogirubato/cbz.git
synced 2026-09-26 13:31:00 +00:00
add additional image format
This commit is contained in:
+8
-6
@@ -5,12 +5,14 @@ from langcodes import Language
|
|||||||
|
|
||||||
XML_NAME = 'ComicInfo.xml'
|
XML_NAME = 'ComicInfo.xml'
|
||||||
IMAGE_FORMAT = {
|
IMAGE_FORMAT = {
|
||||||
'.jpeg', '.jpg', # Joint Photographic Experts Group
|
'.jpeg', '.jpg', # JPEG (Joint Photographic Experts Group)
|
||||||
'.png', # Portable Network Graphics
|
'.png', # PNG (Portable Network Graphics)
|
||||||
'.gif', # Graphics Interchange Format
|
'.gif', # GIF (Graphics Interchange Format)
|
||||||
'.bmp', # Bitmap Image File
|
'.bmp', # BMP (Bitmap Image File)
|
||||||
'.tiff', '.tif', # Tagged Image File Format
|
'.tiff', '.tif', # TIFF (Tagged Image File Format)
|
||||||
'.webp' # Web Picture 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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user