png

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeRandom

func EncodeRandom(w io.Writer, rectangle image.Rectangle) error

EncodeRandom writes the random image with the rectangle to w in PNG format.

func EncodeSolid

func EncodeSolid(w io.Writer, rectangle image.Rectangle, c color.Color) error

EncodeSolid writes the solid image with the rectangle and the color c to w in PNG format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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