<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSImage/imagePasteboardTypes()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSImage(cm)imagePasteboardTypes"
  },
  "title" : "imagePasteboardTypes()"
}
-->

# imagePasteboardTypes()

Returns an array of strings identifying the pasteboard types supported directly by the registered image representation objects.

```
class func imagePasteboardTypes() -> [NSPasteboard.PasteboardType]
```

## Return Value

An array of `NSString` objects, each of which identifies a single supported pasteboard type. By default, this list contains the  `NSPDFPboardType`, `NSPICTPboardType`, `NSPostScriptPboardType`, and `NSTIFFPboardType` types.

## Discussion

This list includes all pasteboard types supported by registered subclasses of [`NSImageRep`](/documentation/AppKit/NSImageRep) plus those that can be converted to a supported type by a user-installed filter service.

Do not override this method. Instead, override the [`imageUnfilteredPasteboardTypes()`](/documentation/AppKit/NSImageRep/imageUnfilteredPasteboardTypes()) method to notify `NSImage` of the pasteboard types your class supports.

---

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)