ratz/src/communication/media/images/thumbnail/thumbnail.go

// Make returns a scaled image from the given in image with
// the given maxSize width or height, maintaining the input
// images aspect ratio.
//
// Optionally, you can also pass a custom scaler
// implementation, if desired.
func Make(in image.Image, maxSize int, scaler ...draw.Scaler) (out image.Image) {}