graphics

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExtNotSupported = errors.New("ext is not supported")
)

Functions

This section is empty.

Types

type ImageInfo

type ImageInfo struct {
	Hash   string
	Origin string
	Scale  string
	Thumb  string
}

type ImageScale

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

func NewImageScale

func NewImageScale() *ImageScale

func (*ImageScale) Build

func (v *ImageScale) Build(filename string, scale, thumb int) (*ImageInfo, error)

func (*ImageScale) SetFolder

func (v *ImageScale) SetFolder(dir string) error

Jump to

Keyboard shortcuts

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