how to take screenshots in safari

Generated on 7/31/2024

1 search

To take screenshots in Safari, you can use the new APIs provided by ScreenCaptureKit. Specifically, the SC screenshot manager offers a screenshot API that allows you to take HDR screenshots. Here are the steps to do this:

  1. Create a Configuration: First, create a configuration for HDR local display.
  2. Choose the Capture Function: If your app needs CM sample buffers for the screenshot, use the capturesample buffer function. If a CG image is preferred, use the capture image function.

For more detailed information, you can refer to the session Capture HDR content with ScreenCaptureKit (05:51).

Relevant Sessions