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

Index

Package Files

decode.go

func Decode

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

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

func DecodeConfig

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 15 packages. Updated 6 days ago. Refresh now. Tools for package owners.