mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
20 lines
375 B
Go
20 lines
375 B
Go
package vips
|
|
|
|
import "github.com/imgproxy/imgproxy/v2/imagetype"
|
|
|
|
func DisableLoadSupport(it imagetype.Type) {
|
|
typeSupportLoad[it] = false
|
|
}
|
|
|
|
func ResetLoadSupport() {
|
|
typeSupportLoad = make(map[imagetype.Type]bool)
|
|
}
|
|
|
|
func DisableSaveSupport(it imagetype.Type) {
|
|
typeSupportSave[it] = false
|
|
}
|
|
|
|
func ResetSaveSupport() {
|
|
typeSupportSave = make(map[imagetype.Type]bool)
|
|
}
|