thumbnail

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Thumbnail

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

func New

func New(thumbnailName, baseDirectory string) *Thumbnail

func (Thumbnail) DeletePreview

func (t Thumbnail) DeletePreview(originalImage string) error

func (Thumbnail) GenerateThumbnail

func (t Thumbnail) GenerateThumbnail(imageFilename string) error

func (Thumbnail) Preview

func (t Thumbnail) Preview(originalImage string) (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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