encoders

package
v0.0.0-...-618eeff Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder interface {
	Initialize(path string, framerate, w, h int) error
	Encode(img image.Image) error
	Cleanup() error
}

Encoder contains all the methods required for an encoder.

func NewAVIEncoder

func NewAVIEncoder() Encoder

NewAVIEncoder creates a new AVI encoder

func NewPNGEncoder

func NewPNGEncoder() Encoder

NewPNGEncoder creates a new PNG encoder

Jump to

Keyboard shortcuts

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