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) -> Image
Parameters
image
Image which will be modified by
self
Return Value
The modified image.