images

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateImage

func CreateImage(width, height int) *image.RGBA

func Draw

func Draw(dst *image.RGBA, col, row int, src image.Image)

func ImageFromBinary

func ImageFromBinary(data []byte) (image.Image, error)

func ImageFromReader

func ImageFromReader(r io.Reader) (image.Image, error)

func ImageSize

func ImageSize(data []byte) (width, height int, err error)

func SaveToWriter

func SaveToWriter(w io.Writer, img image.Image) error

func ValidateImage

func ValidateImage(input []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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