package
0.0.0-20230920122740-c1b5b8d49f9c
Repository: https://github.com/johan-st/go-image-server.git
Documentation: pkg.go.dev
# Functions
New creates a new Imageandler and applies the given options.
No description provided by the author
No description provided by the author
WithCacheDir sets the cache directory.
WithCacheMaxNum sets the cache max number option.
WithCacheMaxSize sets the cache max size.size option.
WithCreateDirs sets the create directories option.
WithImageDefaults sets defaults used when no preset or parameters are given.
WithImagePresets adds the given set of presets to the handler.
WithLogger sets the logger.
WithLogLevel sets the log level.
WithOriginalsDir sets the originals directory.
WithSetPermissions sets the set permissions option.
# Constants
No description provided by the author
No description provided by the author
num colors 1-256.
quality 1-100.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
always lossless.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
ImageHandler is the main type of this package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Format represents image formats.
Interpolation represents interpolation methods used when resizing images.