---
title: cgImage
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/transcript/imageattachment/cgimage
---

# cgImage

The image as a CGImage.

## Declaration

```swift
var cgImage: CGImage { get }
```

## See Also

### Inspecting an image attachment

- [ciImage](foundationmodels/transcript/imageattachment/ciimage.md)
- [orientation](foundationmodels/transcript/imageattachment/orientation.md)
- [url](foundationmodels/transcript/imageattachment/url.md)
