graphicsutil

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyImage

func CopyImage(img image.Image) []byte

CopyImage copies img to a new RGBA image.

Basically CopyImage just calls draw.Draw. If img is a paletted image, an optimized copying method is used.

CopyImage is used only internally but it is exposed for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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