libtgsconverter

package
v0.0.0-...-d36278f Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportFromData

func ImportFromData(data []byte, options ConverterOptions) ([]byte, error)

func ImportFromFile

func ImportFromFile(path string, options ConverterOptions) ([]byte, error)

func SupportsExtension

func SupportsExtension(extension string) bool

Types

type ConverterOptions

type ConverterOptions interface {
	SetExtension(ext string)
	SetFPS(fps uint)
	SetScale(scale float32)
	SetWebpQuality(webp_quality float32)
	GetExtension() string
	GetFPS() uint
	GetScale() float32
	GetWebpQuality() float32
}

func NewConverterOptions

func NewConverterOptions() ConverterOptions

Jump to

Keyboard shortcuts

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