script

package
v0.0.0-...-3c05ffe Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(script, key string, b []byte) ([]byte, error)

Execute executes script that is in scripts folder

func GetScriptPath

func GetScriptPath() (string, error)

GetScriptPath returns script absolute path

func IsSupportedFileType

func IsSupportedFileType(buf []byte) bool

IsSupportedFileType check if file is supported by sparrowdb image manipulation library

Types

type SparrowImage

type SparrowImage struct {
	Name string
	Type string
	Img  image.Image
}

SparrowImage main image effects

type SparrowRGBA

type SparrowRGBA struct {
	Img image.RGBA
}

SparrowRGBA editable instance of an image

Jump to

Keyboard shortcuts

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