You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From some reason can't save WEBP file - it works only if I force "JPEG" otherwise wlil get: "ERROR_WAND: Wand contains no images `%!s(MISSING) (MagickWand-2)"
defer mw.Destroy()
if err := mw.ReadImage(orig); err != nil {
log.Errorf(err.Error())
}
filter := gmagick.FILTER_MITCHELL
w := mw.GetImageWidth()
h := mw.GetImageHeight()
mw.ResizeImage(w/2, h/2, filter, 0)
// mw.SetFormat("JPEG")
if err := mw.WriteImage(dest); err != nil {
log.Errorf(err.Error())
}```
The text was updated successfully, but these errors were encountered:
From some reason can't save WEBP file - it works only if I force "JPEG" otherwise wlil get: "ERROR_WAND: Wand contains no images `%!s(MISSING) (MagickWand-2)"
The text was updated successfully, but these errors were encountered: