package libwebp

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

Index

Functions

func ConvertToNRGBA

func ConvertToNRGBA(src image.Image) *image.NRGBA

func Encode

Encode encodes src into w considering 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.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

Source Files

a__cgo.go a__cgo_src.go a__encoder.go

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

Tools for package owners.