func Decode(r io.Reader) (image.Image, error)
Decode reads a WEBP image from r and returns it as an image.Image.
func DecodeConfig(r io.Reader) (image.Config, error)
DecodeConfig returns the color model and dimensions of a WEBP image without decoding the entire image.