package libwebp

import "github.com/bep/gowebp/libwebp"

Index

Functions

func Encode

Encode encodes src as Webp into w using the options in o.

Any src that isn't one of *image.RGBA, *image.NRGBA, or *image.Gray will be converted to *image.NRGBA using draw.Draw first.

Source Files

encode.go

Directories

PathSynopsis
libwebp/webpoptions
Version
v0.4.0 (latest)
Published
Aug 7, 2024
Platform
linux/amd64
Imports
4 packages
Last checked
5 days ago

Tools for package owners.