You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-11-29 23:07:40 +02:00
GIF output support
This commit is contained in:
@@ -24,12 +24,14 @@ var (
|
||||
imageTypeJPEG: "image/jpeg",
|
||||
imageTypePNG: "image/png",
|
||||
imageTypeWEBP: "image/webp",
|
||||
imageTypeGIF: "image/gif",
|
||||
}
|
||||
|
||||
contentDispositions = map[imageType]string{
|
||||
imageTypeJPEG: "inline; filename=\"image.jpg\"",
|
||||
imageTypePNG: "inline; filename=\"image.png\"",
|
||||
imageTypeWEBP: "inline; filename=\"image.webp\"",
|
||||
imageTypeGIF: "inline; filename=\"image.gif\"",
|
||||
}
|
||||
|
||||
authHeaderMust []byte
|
||||
|
||||
Reference in New Issue
Block a user