thumbnail

package
v0.0.0-...-820a931 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Worker

func Worker(ctx *job.TaskContext) error

Worker is a worker that creates thumbnails for photos and images.

func WorkerCheck

func WorkerCheck(ctx *job.TaskContext) error

WorkerCheck is a worker function that checks all the images to generate missing thumbnails.

Types

type ImageMessage

type ImageMessage struct {
	NoteImage *note.Image `json:"noteImage,omitempty"`
	// -- or --
	File   *vfs.FileDoc `json:"file,omitempty"`
	Format string       `json:"format,omitempty"`
}

Jump to

Keyboard shortcuts

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