meringue.thumbnail.constants ¤
FORMATS_BY_EXTENSIONS
module-attribute
¤
FORMATS_BY_EXTENSIONS: Final[dict[str, str]] = {
EXTENSION_BMP: FORMAT_BMP,
EXTENSION_EPS: FORMAT_EPS,
EXTENSION_GIF: FORMAT_GIF,
EXTENSION_ICO: FORMAT_ICO,
EXTENSION_JPG: FORMAT_JPEG,
EXTENSION_JPEG: FORMAT_JPEG,
EXTENSION_JFIF: FORMAT_JPEG,
EXTENSION_PNG: FORMAT_PNG,
EXTENSION_TIFF: FORMAT_TIFF,
EXTENSION_WEBP: FORMAT_WEBP,
}
Formats by extensions
EXTENSIONS_BY_FORMATS
module-attribute
¤
EXTENSIONS_BY_FORMATS: Final[dict[str, str]] = {
FORMAT_BMP: EXTENSION_BMP,
FORMAT_EPS: EXTENSION_EPS,
FORMAT_GIF: EXTENSION_GIF,
FORMAT_ICO: EXTENSION_ICO,
FORMAT_JPEG: EXTENSION_JPG,
FORMAT_PNG: EXTENSION_PNG,
FORMAT_TIFF: EXTENSION_TIFF,
FORMAT_WEBP: EXTENSION_WEBP,
}
Extensions by formats
FORMATS_WITH_ALPHA_SUPPORT
module-attribute
¤
FORMATS_WITH_ALPHA_SUPPORT: Final[list[str]] = [
FORMAT_BMP,
FORMAT_EPS,
FORMAT_GIF,
FORMAT_ICO,
FORMAT_PNG,
FORMAT_TIFF,
FORMAT_WEBP,
]
Formats with alpha support