image: golang.org/x/image/webp Index | Files

package webp

import "golang.org/x/image/webp"

Package webp implements a decoder for WEBP images.

WEBP is defined at: https://developers.google.com/speed/webp/docs/riff_container

Index

Package Files

decode.go doc.go

func Decode Uses

func Decode(r io.Reader) (image.Image, error)

Decode reads a WEBP image from r and returns it as an image.Image.

func DecodeConfig Uses

func DecodeConfig(r io.Reader) (image.Config, error)

DecodeConfig returns the color model and dimensions of a WEBP image without decoding the entire image.

Package webp imports 8 packages (graph) and is imported by 104 packages. Updated 2019-05-23. Refresh now. Tools for package owners.