---
title: "filterArray(fromSerializedXMP:inputImageExtent:error:)"
framework: coreimage
role: symbol
role_heading: Type Method
path: "coreimage/cifilter-swift.class/filterarray(fromserializedxmp:inputimageextent:error:)"
---

# filterArray(fromSerializedXMP:inputImageExtent:error:)

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

## Declaration

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

## Parameters

- `xmpData`: The XMP data created previously by calling doc://com.apple.coreimage/documentation/CoreImage/CIFilter-swift.class/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

### Deprecated

- [init(CVPixelBuffer:properties:options:)](coreimage/cifilter-swift.class/init(cvpixelbuffer:properties:options:)-7qpsv.md)
- [init(imageData:options:)](coreimage/cifilter-swift.class/init(imagedata:options:).md)
- [init(imageURL:options:)](coreimage/cifilter-swift.class/init(imageurl:options:).md)
- [CIRAWFilterOption](coreimage/cirawfilteroption.md)
- [serializedXMP(from:inputImageExtent:)](coreimage/cifilter-swift.class/serializedxmp(from:inputimageextent:).md)
- [supportedRawCameraModels()](coreimage/cifilter-swift.class/supportedrawcameramodels().md)
