-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
ScreenCaptureKit is the new blessèd way to capture screen contents (instead of CGWindowListCreateImage) and includes some useful features like automatically handling image resizing on the gpu.
Unfortunately the only way to manifest an SCWindow is from an instance of SCShareableContent, which affects all of Switch's window list and content code. Also the API is async which is cool but means even more rearchitecting.
let content = try await SCShareableContent.excludingDesktopWindows(false, onscreenWindowsOnly: true)Metadata
Metadata
Assignees
Labels
No labels