imageext

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GifFromFrames

func GifFromFrames(archive []byte, frames []Frame) ([]byte, error)

func ValidSizeUint added in v0.11.0

func ValidSizeUint(size uint64) bool

Types

type Frame

type Frame struct {
	Filename string
	Duration int
}

type Size added in v0.8.0

type Size uint8
const (
	SizeThumbnail Size = 0
	SizeSmall     Size = 1
	SizeMedium    Size = 2
	SizeOriginal  Size = 3
	SizeDefault        = SizeOriginal
)

func SizeFromUint added in v0.8.0

func SizeFromUint(size uint64) Size

func (Size) ToUint added in v0.11.0

func (s Size) ToUint() uint64

Jump to

Keyboard shortcuts

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