imagereader

package
v0.0.0-...-03ee3a8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in io.Reader, contentType string, quality int) (*imageReader, error)

Decode image from some image type

func Encode

func Encode(img image.Image, wr io.Writer, target string, quality int) (err error)

Encode image into the target type

func NewImageReader

func NewImageReader(img image.Image, contentType string, quality int) *imageReader

Types

This section is empty.

Jump to

Keyboard shortcuts

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