<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPerson/imageData()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book",
      "AddressBook"
    ],
    "preciseIdentifier" : "c:objc(cs)ABPerson(im)imageData"
  },
  "title" : "imageData()"
}
-->

# imageData()

Returns data that contains a picture of this person.

```
func imageData() -> Data!
```

## Return Value

Data containing a picture of this person

## Discussion

This method searches only the local file system and operates synchronously. To perform an asynchronous search or to search over a network, use [`beginLoadingImageData(for:)`](/documentation/AddressBook/ABPerson/beginLoadingImageData(for:)).

The returned data is in a QuickTime-compatible format. To create an image from it, use the `NSImage` method <doc://com.apple.documentation/documentation/AppKit/NSImage/init(data:)>.

---

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)