---
title: "init(url:isTemplate:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/displayrepresentation/image-swift.struct/init(url:istemplate:)"
---

# init(url:isTemplate:)

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

## Declaration

```swift
init(url: URL, isTemplate: Bool? = nil)
```
