noteshrink

package module
v0.0.0-...-192c86f Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shrink

func Shrink(input image.Image, option *Option) *image.RGBA

Types

type Option

type Option struct {
	SampleFraction      float32
	BrightnessThreshold float32
	SaturationThreshold float32
	NumColors           int
	KmeansMaxIter       int
	Saturate            bool
	WhiteBackground     bool
}

func MakeDefaultOption

func MakeDefaultOption() *Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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