mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-03 18:05:50 +02:00
HEIC saving support
This commit is contained in:
@@ -151,9 +151,18 @@ func (it Type) SupportsColourProfile() bool {
|
||||
return it == JPEG ||
|
||||
it == PNG ||
|
||||
it == WEBP ||
|
||||
it == HEIC ||
|
||||
it == AVIF
|
||||
}
|
||||
|
||||
func (it Type) SupportsQuality() bool {
|
||||
return it == JPEG ||
|
||||
it == WEBP ||
|
||||
it == HEIC ||
|
||||
it == AVIF ||
|
||||
it == TIFF
|
||||
}
|
||||
|
||||
func (it Type) SupportsThumbnail() bool {
|
||||
return it == HEIC || it == AVIF
|
||||
}
|
||||
|
Reference in New Issue
Block a user