---
title: "init(ciImage:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsciimagerep/init(ciimage:)-60ghw"
---

# init(ciImage:)

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

## Declaration

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

## Parameters

- `image`: The doc://com.apple.documentation/documentation/CoreImage/CIImage instance.

## Return Value

Return Value An initialized NSCIImageRep object, or nil if the object could not be initialized.
