HEIC saving support

This commit is contained in:
DarthSim
2023-11-18 20:32:05 +03:00
parent 8887f093ec
commit 707a24e59d
6 changed files with 25 additions and 11 deletions

View File

@@ -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
}