smear

package
v0.0.0-...-db9c320 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmearOpt

type SmearOpt func(*Smearer)

func WithSeed

func WithSeed(seed int64) SmearOpt

func WithSmearLen

func WithSmearLen(smearLen int) SmearOpt

func WithSmearPos

func WithSmearPos(smearPos int) SmearOpt

func WithStrength

func WithStrength(strength uint) SmearOpt

type Smearer

type Smearer struct {
	// contains filtered or unexported fields
}

func New

func New(path string, opts ...SmearOpt) (*Smearer, error)

func (*Smearer) Smear

func (s *Smearer) Smear() image.Image

Jump to

Keyboard shortcuts

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