thumbnailer

package
v0.0.0-...-c7c84f7 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxImageHeight int
View Source
var MaxImageWidth int

Functions

func ReadFFmpeg

func ReadFFmpeg(body *thumblink.Peekable, animMode thumblink.AnimMode, mime string, maxWidth, maxHeight int) (ffmpeg.Frame, int, thumblink.AnimMode, error)

func ReadJPEG

func ReadJPEG(body *thumblink.Peekable, animMode thumblink.AnimMode, mime string, maxWidth, maxHeight int) (ffmpeg.Frame, int, thumblink.AnimMode, error)

func Startup

func Startup()

Types

type Base64Data

type Base64Data struct {
	Header string
	Data   []byte
}

Base64Data represents a data URI in base64 format

func (*Base64Data) HTML

func (b *Base64Data) HTML() []string

HTML impl HTMLAble

func (*Base64Data) Len

func (b *Base64Data) Len() int

Len impl HTMLAble

type Mutator

type Mutator struct {
}

Mutator implements thumblink.Mutator.

func (Mutator) Help

func (Mutator) Help() string

func (Mutator) Mutate

func (m Mutator) Mutate(in []thumblink.HTMLAble) (out []thumblink.HTMLAble, errors []error)

Mutate impl thumblink.Mutator

Jump to

Keyboard shortcuts

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