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.