---
title: "resolve(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/graphicscontext/resolve(_:)-898z6"
---

# resolve(_:)

Gets a version of an image that’s fixed with the current values of the graphics context’s environment.

## Declaration

```swift
func resolve(_ image: Image) -> GraphicsContext.ResolvedImage
```

## Parameters

- `image`: The doc://com.apple.SwiftUI/documentation/SwiftUI/Image to resolve.

## Return Value

Return Value An image that’s resolved into the current context’s environment, taking into account environment values like the display resolution and current color scheme.

## Discussion

Discussion You can measure the resolved image by looking at its size and baseline properties. You can draw the resolved image with the context’s draw(_:in:style:) or draw(_:at:anchor:) method.
