<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPICTImageRep",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPICTImageRep"
  },
  "title" : "NSPICTImageRep"
}
-->

# NSPICTImageRep

An object that renders an image from a PICT format data stream of version 1, version 2, and extended version 2.

```
class NSPICTImageRep
```

## Overview> Warning:
> There is no guarantee that the image will render exactly the same as it would under QuickDraw because of the differences between the display medium and QuickDraw. In particular, some transfer modes and region operations may not be supported.

## Topics

### Creating Representations of Images from PICT Data

[`imageRepWithData:`](/documentation/AppKit/NSPICTImageRep/imageRepWithData:)

Creates and returns a representation of an image from the specified data in the PICT file format.

[`init(data:)`](/documentation/AppKit/NSPICTImageRep/init(data:))

Returns a representation of an image from the specified data in the PICT file format.

### Getting Data

[`boundingBox`](/documentation/AppKit/NSPICTImageRep/boundingBox)

The rectangle that bounds the image representation.

[`pictRepresentation`](/documentation/AppKit/NSPICTImageRep/pictRepresentation)

The image representation’s PICT 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)