image

package
v0.0.0-...-81dc835 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataURIFromImage

func DataURIFromImage(encoder Encoder, m image.Image) (string, error)

Types

type Encoder

type Encoder interface {
	MediaType() string
	Encode(w io.Writer, m image.Image) error
}
var CodecPNG Encoder = &pngEncoder{}

Jump to

Keyboard shortcuts

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