You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-12-07 23:32:55 +02:00
Add AVIF support
This commit is contained in:
@@ -138,7 +138,7 @@ func canScaleOnLoad(imgtype imageType, scale float64) bool {
|
||||
|
||||
func canFitToBytes(imgtype imageType) bool {
|
||||
switch imgtype {
|
||||
case imageTypeJPEG, imageTypeWEBP, imageTypeHEIC, imageTypeTIFF:
|
||||
case imageTypeJPEG, imageTypeWEBP, imageTypeAVIF, imageTypeTIFF:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user