libwebp

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL