ImageModifier
public protocol ImageModifier
An ImageModifier can be used to change properties on an Image in between
cache serialization and use of the image.
-
Modify an input
Image.Note
The return value will be unmodified if modifying is not possible on the current platform.
Note
Most modifiers support UIImage or NSImage, but not CGImage.
Declaration
Swift
func modify(_ image: Image) -> ImageParameters
imageImage which will be modified by
selfReturn Value
The modified image.
View on GitHub
Install in Dash
ImageModifier Protocol Reference