photojawn/photoalbum/config.py
Nick Pegg 4e6cf1d499 Init commit
Currently will generate dirs and all the thumbnails and view sizes of
images
2024-08-03 07:37:28 -07:00

15 lines
400 B
Python

from dataclasses import dataclass, field
from typing import Iterator
DEFAULT_CONFIG_PATH = "photoalbum.config.json"
@dataclass
class Config:
# Size of thumbnails when looking at a folder page
thumbnail_size: tuple[int, int] = (128, 128)
# Size of the image when looking at the standalone image page
view_size: tuple[int, int] = (1920, 1080)
# TODO: to/from file classmethods