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

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

It requires Go 1.6 or later.

Index

Package Files

decode.go webp.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.

Directories

PathSynopsis
nycbcraPackage nycbcra provides non-alpha-premultiplied Y'CbCr-with-alpha image and color types.

Package webp imports 8 packages (graph) and is imported by 40 packages. Updated 2017-10-13. Refresh now. Tools for package owners.