May only have a avif encoder installed, not decoder, thus for resize output only means to save is required

master
Lars Fronius 5 years ago
parent 1e535c36a1
commit 2cba482a06
No known key found for this signature in database
GPG Key ID: 9799DF92255C2D0C

@ -31,7 +31,7 @@ func resizer(buf []byte, o Options) ([]byte, error) {
o = applyDefaults(o, imageType) o = applyDefaults(o, imageType)
// Ensure supported type // Ensure supported type
if !IsTypeSupported(o.Type) { if !IsTypeSupportedSave(o.Type) {
return nil, errors.New("Unsupported image output type") return nil, errors.New("Unsupported image output type")
} }

Loading…
Cancel
Save