anime4kgo

package
v0.0.0-...-7167e0d Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Img

type Img struct {
	W       int
	H       int
	FmtType string
	// contains filtered or unexported fields
}

Img defined the image class

func LoadImg

func LoadImg(src string) *Img

LoadImg read a image file and return

func (*Img) Process

func (img *Img) Process(passes int, sc, sg float64, fastMode bool)

Process anime4k

func (*Img) SaveImg

func (img *Img) SaveImg(filename string)

SaveImg will save a target image to disk

func (*Img) ShowInfo

func (img *Img) ShowInfo(opt *options.Opt)

ShowInfo will show the basic infomation of the image

Jump to

Keyboard shortcuts

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