carre

package
v0.0.0-...-f3e7e85 Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BreakAndPaint

func BreakAndPaint(in *image.NRGBA, out *image.NRGBA, threshold uint8)

func ImageToNRGBA

func ImageToNRGBA(img image.Image) *image.NRGBA

ImageToNRGBA converts an image.Image into an image.NRGBA.

func LoadImage

func LoadImage(path string) (image.Image, error)

LoadImage reads and loads an image from a file path.

func SaveImagePNG

func SaveImagePNG(img image.Image, path string) error

SaveImagePNG saves an image to a PNG file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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