Type Method

filterArray(fromSerializedXMP:inputImageExtent:error:)

Returns an array of filter objects de-serialized from XMP data.

Declaration

class func filterArray(fromSerializedXMP xmpData: Data, inputImageExtent extent: CGRect, error outError: NSErrorPointer) -> [CIFilter]

Parameters

xmpData

The XMP data created previously by calling serializedXMP(from:inputImageExtent:).

extent

The extent of the image from which the XMP data was extracted.

outError

The address of an NSError object for receiving errors, otherwise nil.

See Also

Serializing and Deserializing Filters

class func serializedXMP(from: [CIFilter], inputImageExtent: CGRect) -> Data?

Serializes filter parameters into XMP form that is suitable for embedding in an image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software