package
0.0.13
Repository: https://github.com/cernbox/reva-plugins.git
Documentation: pkg.go.dev

# Functions

NewThumbnail creates a new Thumbnail service that generates thumbnails.
ParseResolution returns an image.Rectangle representing the resolution given as a string.
ParseResolutions creates an instance of Resolutions from resolution strings.

# Constants

BMPType is the value to specify a BMP output.
JPEGType is the value to specify a JPEG output.
PNGType is the value to specify a PNF output.

# Structs

Config is the config for the Thumbnail service.
Thumbnail is the service that generates thumbnails.

# Type aliases

FileType is the output format of the thumbnail.
Resolutions is a list of image.Rectangle representing resolutions.