---
title: INImage
framework: intents
role: symbol
role_heading: Class
path: intents/inimage
---

# INImage

Image data inside an Intents extension or Intents UI extension.

## Declaration

```swift
class INImage
```

## Mentioned in

Displaying Shortcut Information in a Siri Watch Face Card

## Overview

Overview 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 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:) 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:)](intents/inimage/init(named:).md)
- [init(UIImage:)](intents/inimage/init(uiimage:).md)
- [init(CGImage:)](intents/inimage/init(cgimage:).md)
- [init(imageData:)](intents/inimage/init(imagedata:).md)
- [init(url:)](intents/inimage/init(url:)-8eo3q.md)
- [init(url:width:height:)](intents/inimage/init(url:width:height:)-41ikr.md)

### Getting the Image

- [fetchUIImage(completion:)](intents/inimage/fetchuiimage(completion:).md)

### Getting the Preferred Image Size

- [imageSize(for:)](intents/inimage/imagesize(for:).md)

### Getting a System Symbol Image

- [systemImageNamed(_:)](intents/inimage/systemimagenamed(_:).md)

### Initializers

- [init(NSImage:)](intents/inimage/init(nsimage:).md)
- [init(URL:)](intents/inimage/init(url:)-5po10.md)
- [init(URL:width:height:)](intents/inimage/init(url:width:height:)-8snx6.md)
- [init(coder:)](intents/inimage/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
