2# +==== BEGIN CatFeeder =================+
4# ..............(..../\\
5# ...............)..(.')
7# ...............\\(__)|
8# Inspired by Joan Stark
9# source https://www.asciiart.eu/
13# FILE: image_reducer_constants.py
14# CREATION DATE: 05-01-2026
15# LAST Modified: 0:48:0 08-01-2026
17# This is the backend server in charge of making the actual website work.
19# COPYRIGHT: (c) Cat Feeder
20# PURPOSE: The file in charge of containing the constants that will be used in the class.
22# +==== END CatFeeder =================+
25from typing
import List, Dict
28DEFAULT_OUTPUT_FORMAT: str =
"PNG"
29ALLOWED_FORMATS: List[str] = [
40ALLOWED_OUTPUT_FORMATS: List[str] = [
"WEBP",
"JPEG",
"JPG",
"PNG"]
42COMPRESSION_QUALITY: Dict[str, int] = {
56 """Enumeration of supported image file formats.
58 Includes both raster and vector image formats that can be processed
59 by the ImageReducer. Supports common web-friendly formats as well as
60 traditional image formats.