Skip to content

v4.0.5-beta.17

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Apr 22:14
· 541 commits to main since this release
fix: set raw CGImage before NSImage to avoid round-trip corruption

Store the raw CGImage directly from ScreenCaptureKit before wrapping
in NSImage, instead of extracting it back from NSImage via
cgImage(forProposedRect:). The NSImage(cgImage:size:) constructor
may apply color conversion on systems with broken display profiles,
so the round-trip could corrupt the pixel data.

Also pre-sets screenshotCGImage for flip, crop, invert operations.