diff --git a/CHANGES.md b/CHANGES.md index e6afa4a81..e40236c13 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -86,6 +86,8 @@ * add OGC Tiles `/tiles` and `/tiles/{tileMatrixSet}` endpoints +* add `gif` media type + ### titiler.mosaic * Rename `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change** diff --git a/src/titiler/core/titiler/core/resources/enums.py b/src/titiler/core/titiler/core/resources/enums.py index 42d23246c..52be51fdb 100644 --- a/src/titiler/core/titiler/core/resources/enums.py +++ b/src/titiler/core/titiler/core/resources/enums.py @@ -30,6 +30,7 @@ class MediaType(str, Enum): csv = "text/csv" openapi30_json = "application/vnd.oai.openapi+json;version=3.0" openapi30_yaml = "application/vnd.oai.openapi;version=3.0" + gif = "image/gif" class ImageDriver(str, Enum): @@ -43,6 +44,7 @@ class ImageDriver(str, Enum): webp = "WEBP" jp2 = "JP2OpenJPEG" npy = "NPY" + gif = "GIF" class ImageType(str, Enum):