Skip to content

Commit cc607c3

Browse files
add gif mediatype (#1018)
* add gif mediatype * update changelog
1 parent 6bc1429 commit cc607c3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
8787
* add OGC Tiles `/tiles` and `/tiles/{tileMatrixSet}` endpoints
8888
89+
* add `gif` media type
90+
8991
### titiler.mosaic
9092
9193
* Rename `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change**

src/titiler/core/titiler/core/resources/enums.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class MediaType(str, Enum):
3030
csv = "text/csv"
3131
openapi30_json = "application/vnd.oai.openapi+json;version=3.0"
3232
openapi30_yaml = "application/vnd.oai.openapi;version=3.0"
33+
gif = "image/gif"
3334

3435

3536
class ImageDriver(str, Enum):
@@ -43,6 +44,7 @@ class ImageDriver(str, Enum):
4344
webp = "WEBP"
4445
jp2 = "JP2OpenJPEG"
4546
npy = "NPY"
47+
gif = "GIF"
4648

4749

4850
class ImageType(str, Enum):

0 commit comments

Comments
 (0)