rndimage

package
v0.0.0-...-e074f79 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Author = "Sergey Lapin <sv0lapin@gmail.com>"

Author - author ot the package

View Source
const Name = "rndimage"

Name - name of the package

View Source
const Version = "0.0.1"

Version - current version

Variables

This section is empty.

Functions

func Encode

func Encode(writer io.Writer, image image.Image) error

Encode - encodes provided `image.Image` as jpeg

func Generate

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

Generate - generates `image.RGBA` of given `width` and `height` filling it with random pixel colors

Types

This section is empty.

Jump to

Keyboard shortcuts

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