images

package
v0.0.0-...-3511385 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Image thumbnail generator

Index

Constants

View Source
const (
	ImageTypePng  string = "image/png"
	ImageTypeJpeg        = "image/jpeg"
	ImageTypeGif         = "image/gif"
	ImageTypeBmp         = "image/bmp"
	ImageTypeTiff        = "image/tiff"
	ImageTypeSvg         = "image/svg+xml"
)

Variables

This section is empty.

Functions

func GenThumbnail

func GenThumbnail(src string, width, height int, force bool) (string, error)

func SupportedTypes

func SupportedTypes() []string

func ThumbnailForTheme

func ThumbnailForTheme(src string, width, height int, force bool) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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