pipeline_thumbnail

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx rcontext.RequestContext, origin string, mediaId string, opts ThumbnailOpts) (*database.DbThumbnail, io.ReadCloser, error)

Types

type ThumbnailOpts

type ThumbnailOpts struct {
	pipeline_download.DownloadOpts
	Width    int
	Height   int
	Method   string
	Animated bool
}

ThumbnailOpts are options for generating a thumbnail

func (ThumbnailOpts) ImpliedDownloadOpts

func (o ThumbnailOpts) ImpliedDownloadOpts() pipeline_download.DownloadOpts

func (ThumbnailOpts) String

func (o ThumbnailOpts) String() string

Jump to

Keyboard shortcuts

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