diff options
author | 2022-12-06 14:15:25 +0100 | |
---|---|---|
committer | 2022-12-06 14:15:25 +0100 | |
commit | 1a3f26fb5c515f5672561449f91f6be6383b5a3a (patch) | |
tree | 801c8469ea8ae122cf583953940d3e28bdbfa90f /internal/media/types.go | |
parent | [docs] Remove filesystem logging directives from example systemd unit config ... (diff) | |
download | gotosocial-1a3f26fb5c515f5672561449f91f6be6383b5a3a.tar.xz |
[feature] media: add webp support (#1155)
* media: add webp support
Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
* bump exif-terminator to v0.5.0
Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
Diffstat (limited to 'internal/media/types.go')
-rw-r--r-- | internal/media/types.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/media/types.go b/internal/media/types.go index 763a8137f..b855d72b5 100644 --- a/internal/media/types.go +++ b/internal/media/types.go @@ -43,6 +43,9 @@ const ( mimePng = "png" mimeImagePng = mimeImage + "/" + mimePng + + mimeWebp = "webp" + mimeImageWebp = mimeImage + "/" + mimeWebp ) type processState int32 |