settingProperties(_:)
Return a new image by changing the receiver’s metadata properties.
Declaration
func settingProperties(_ properties: [AnyHashable : Any]) -> CIImageParameters
- properties:
A dictionary of metadata properties akin to the
CGImageSourceCopyPropertiesAtIndex()function.
Return Value
An autoreleased CIImage instance with a copy of the new properties.
Discussion
When you create an image, Core Image sets an image’s properties to a metadata dictionary as described here: properties. Use this method to override an image’s metadata properties with new values.
See Also
Creating an Image by Modifying an Existing Image
applyingFilter(_:parameters:)applyingFilter(_:)transformed(by:)transformed(by:highQualityDownsample:)cropped(to:)oriented(forExifOrientation:)clampedToExtent()clamped(to:)composited(over:)convertingWorkingSpaceToLab()convertingLabToWorkingSpace()matchedToWorkingSpace(from:)matchedFromWorkingSpace(to:)premultiplyingAlpha()unpremultiplyingAlpha()