<!--
{
  "availability" : [
    "iOS: 6.0.0 - 17.0.0",
    "iPadOS: 6.0.0 - 17.0.0",
    "macCatalyst: 13.1.0 - 17.0.0",
    "macOS: 10.9.0 - 14.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIFilter-swift.class/filterArray(fromSerializedXMP:inputImageExtent:error:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:objc(cs)CIFilter(cm)filterArrayFromSerializedXMP:inputImageExtent:error:"
  },
  "title" : "filterArray(fromSerializedXMP:inputImageExtent:error:)"
}
-->

# filterArray(fromSerializedXMP:inputImageExtent:error:)

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

```
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:)`](/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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)