Documentation ¶ Index ¶ func Resize(path string, width, height uint) (newPath string, err error) func Thumbnail(path string, width, height uint) (newPath string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Resize ¶ func Resize(path string, width, height uint) (newPath string, err error) Resize requires libvips see for installation https://github.com/libvips/libvips func Thumbnail ¶ func Thumbnail(path string, width, height uint) (newPath string, err error) Thumbnail downscales an image preserving its aspect ratio to the maximum dimensions. It will return the original image if original sizes are smaller than the provided dimensions. Types ¶ This section is empty. Source Files ¶ View all Source files cache.go image.go resize.go Click to show internal directories. Click to hide internal directories.