<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INImage",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INImage"
  },
  "title" : "INImage"
}
-->

# INImage

Image data inside an Intents extension or Intents UI extension.

```
class INImage
```

## Overview

[`INImage`](/documentation/Intents/INImage) is a wrapper for image data that you include in a response to an intent. When providing a response to an intent, you must specify any image parameters using instances of this class. [`INImage`](/documentation/Intents/INImage) supports the same formats as the underlying platform.

When confirming or handling an intent, you provide a response object with details about how your app handles that intent. When that response contains an image, use the [`imageSize(for:)`](/documentation/Intents/INImage/imageSize(for:)) method to determine the required image size and then create an instance of this class with the corresponding image data.

## Topics

### Creating an Image Object

[`init(named:)`](/documentation/Intents/INImage/init(named:))

Creates an image object from an image file in the extension’s bundle.

[`init(UIImage:)`](/documentation/Intents/INImage/init(UIImage:))

Creates an image object from the specified UIKit image.

[`init(CGImage:)`](/documentation/Intents/INImage/init(CGImage:))

Creates an image object from the specified Core Graphics image.

[`init(imageData:)`](/documentation/Intents/INImage/init(imageData:))

Creates an image object from the specified data.

[`init(url:)`](/documentation/Intents/INImage/init(url:)-8eo3q)

Creates an image object from an image file in the local file system.

[`init(url:width:height:)`](/documentation/Intents/INImage/init(url:width:height:)-41ikr)

Creates an image object, of the specified size, from an image file in the local file system.

### Getting the Image

[`fetchUIImage(completion:)`](/documentation/Intents/INImage/fetchUIImage(completion:))

Fetches the image and provides it to the specified completion handler.

### Getting the Preferred Image Size

[`imageSize(for:)`](/documentation/Intents/INImage/imageSize(for:))

Returns the preferred image size for the specified response object.

### Getting a System Symbol Image

[`systemImageNamed(_:)`](/documentation/Intents/INImage/systemImageNamed(_:))

Returns an image object that contains the specified system symbol image.



---

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)