---
title: bitmapData
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbitmapimagerep/bitmapdata
---

# bitmapData

A pointer to the bitmap data.

## Declaration

```swift
var bitmapData: UnsafeMutablePointer<UInt8>? { get }
```

## Discussion

Discussion For planar data, the value in this property points to the first plane.

## See Also

### Related Documentation

- [getPixel(_:atX:y:)](appkit/nsbitmapimagerep/getpixel(_:atx:y:).md)

### Getting the Bitmap Data

- [getBitmapDataPlanes(_:)](appkit/nsbitmapimagerep/getbitmapdataplanes(_:).md)
