Resize
public struct Resize
The width
parameter lets you dynamically resize the width of the image by specifying pixels or percentage.
The height
parameter lets you dynamically resize the height of the image by specifying pixels or percentage.
The disable
parameter disables the functionality that is enabled by default.
See Resize Images
-
This
disableUpscale
ensures that even if the specified height or width is much bigger than the actual image, it will not be rendered disproportionately.Declaration
Swift
public var disableUpscale: Bool
-
The
resize-filter
parameter allows you to use the r esizing filter to increase or decrease the number of pixels in a given image.Declaration
Swift
public var filter: ResizeFilter