Type Method

filterArrayFromSerializedXMP:inputImageExtent:error:

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

Declaration

+ (NSArray<CIFilter *> *)filterArrayFromSerializedXMP:(NSData *)xmpData inputImageExtent:(CGRect)extent error:(NSError * _Nullable *)outError;

Parameters

xmpData

The XMP data created previously by calling serializedXMPFromFilters: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

+ serializedXMPFromFilters:inputImageExtent:

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