<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGWindowImageOption/bestResolution",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGWindowImageOption@kCGWindowImageBestResolution"
  },
  "title" : "bestResolution"
}
-->

# bestResolution

When capturing the window, return the best image resolution. The returned image size may be different than the screen size.

```
static var bestResolution: CGWindowImageOption { get }
```

---

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)