<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIImage/init(bitmapImageRep:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:objc(cs)CIImage(im)initWithBitmapImageRep:"
  },
  "title" : "init(bitmapImageRep:)"
}
-->

# init(bitmapImageRep:)

Initializes an image object with the specified bitmap image representation.

```
init?(bitmapImageRep: NSBitmapImageRep)
```

## Parameters

`bitmapImageRep`

An image representation object containing the bitmap data.

## Return Value

The initialized image object, or `nil` if the object could not be initialized.

## Discussion

---

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)