image: Index | Files | Directories

package webp

import ""

Package webp implements a decoder for WEBP images.

WEBP is defined at:

It requires Go 1.6 or later.


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.


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.