Initializes an image with the contents of an IOSurface.
Mac Catalyst 13.0+
An IOSurface object.
An image object initialized with the data from the IOSurface object.
An IOSurface object is a framebuffer object that is suitable for sharing across process boundaries. You can use it to allow your app to move complex image decompression and drawing logic into a separate process for the purpose of increasing security.