Documentation ¶
Overview ¶
Package resize provides methods for resizing images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResizeTransformation ¶
NewResizeWriter returns a new `ResizeTransformation` instance configure by 'uri' in the form of:
resize://?max={MAX}
Where {MAX} is expected to be a maximum dimension for the resized image.
Types ¶
type ResizeTransformation ¶
type ResizeTransformation struct { transform.Transformation // contains filtered or unexported fields }
ResizeTransformation is a struct that implements the `Transformation` interface for resizing images by a maximum dimension.
Click to show internal directories.
Click to hide internal directories.