ICRA/colorcalc/constants.py

20 lines
372 B
Python

"""Shared configuration constants for ColorCalc."""
from __future__ import annotations
from pathlib import Path
PREVIEW_MAX_SIZE = (1200, 800)
DEFAULTS = {
"hue_min": 250.0,
"hue_max": 310.0,
"sat_min": 15.0,
"val_min": 15.0,
"val_max": 100.0,
"alpha": 120,
}
BASE_DIR = Path(__file__).resolve().parent.parent
IMAGES_DIR = BASE_DIR / "images"