images

package
v0.0.0-...-a18fae3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageDimensions

func ImageDimensions(path string) (*dimensions, error)

Types

type Format

type Format struct {
	NoButtons bool
	Fun       bool
}

func (Format) Body

func (t Format) Body(rootUrl, fileUri, filePath, fileName, prefix, mime string) (string, error)

func (Format) CSS

func (t Format) CSS() string

func (Format) Extensions

func (t Format) Extensions() map[string]string

func (Format) MediaType

func (t Format) MediaType(extension string) string

func (Format) Title

func (t Format) Title(rootUrl, fileUri, filePath, fileName, prefix, mime string) (string, error)

func (Format) Type

func (t Format) Type() string

func (Format) Validate

func (t Format) Validate(filePath string) bool

Jump to

Keyboard shortcuts

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