ff

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: ISC Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Composite

func Composite(path, outputformat string, img image.Image, under bool, point image.Point) ([]byte, error)

func Speed

func Speed(path, outputformat string, speed float64) ([]byte, error)

Types

type Size

type Size struct {
	Width  int
	Height int
}

func Probe

func Probe(path string) (*Size, int, error)

type Throttler

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

func NewThrottler

func NewThrottler(n int64) Throttler

func (Throttler) Composite

func (t Throttler) Composite(path, outputformat string, img image.Image, under bool, point image.Point) ([]byte, error)

func (Throttler) Probe

func (t Throttler) Probe(path string) (*Size, int, error)

func (Throttler) Speed

func (t Throttler) Speed(path, outputformat string, speed float64) ([]byte, error)

Jump to

Keyboard shortcuts

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