]> git.ipfire.org Git - collecty.git/blobdiff - src/collecty/constants.py
Automatically guess image format when generating graphs
[collecty.git] / src / collecty / constants.py
index f5e46176567696c4bfac565eb97f39475fdfd668..34e6b667003d9511c78545c1ad740e5efa76c502 100644 (file)
@@ -31,6 +31,8 @@ DEFAULT_IMAGE_FORMAT = "SVG"
 DEFAULT_LOCALE = "en_GB.utf8"
 DEFAULT_TIMEZONE = "UTC"
 
+SUPPORTED_IMAGE_FORMATS = ("SVG", "PNG", "PDF")
+
 GRAPH_DEFAULT_ARGUMENTS = (
        # Change the background colour
        "--color", "BACK#FFFFFF",