<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCIImageRep/init(ciImage:)-60ghw",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCIImageRep(im)initWithCIImage:"
  },
  "title" : "init(ciImage:)"
}
-->

# init(ciImage:)

Returns a representation of an image initialized to the specified Core Image instance.

```
init(ciImage image: CIImage)
```

## Parameters

`image`

The <doc://com.apple.documentation/documentation/CoreImage/CIImage> instance.

## Return Value

An initialized [`NSCIImageRep`](/documentation/AppKit/NSCIImageRep) object, or `nil` if the object could not be initialized.

---

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)