<!--
{
  "availability" : [
    "Swift: -",
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INImage/init(UIImage:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INImage(cm)imageWithUIImage:"
  },
  "title" : "init(UIImage:)"
}
-->

# init(UIImage:)

Creates an image object from the specified UIKit image.

```
convenience init(UIImage image: UIImage)
```

## Parameters

`image`

A UIKit image that contains the image data to use.

## Return Value

An image object that contains the specified UIKit image, or `nil` if that image is invalid.

## 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)