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

# bitmapFormat

The format of the bitmap image representation.

```
var bitmapFormat: NSBitmapImageRep.Format { get }
```

## Discussion

Returns 0 by default. The return value can indicate several different attributes, which are described in [`NSBitmapImageRep.Format`](/documentation/AppKit/NSBitmapImageRep/Format).

---

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)