forked from MirrorHub/mautrix-whatsapp
14 lines
162 B
Go
14 lines
162 B
Go
// +build !cgo
|
|
|
|
package main
|
|
|
|
import (
|
|
"image"
|
|
"io"
|
|
|
|
"golang.org/x/image/webp"
|
|
)
|
|
|
|
func decodeWebp(r io.Reader) (image.Image, error) {
|
|
return webp.Decode(r)
|
|
}
|