Initializes, using the specified options, an image with the contents of an IOSurface.
- iOS 5.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
A dictionary specifying image options. (See Image Dictionary Keys.)
An image object initialized with the data from the IOSurface.
Initializing an Image
Initializes an image of infinite extent whose entire content is the specified color.
Initializes an image object with the specified UIKit image object.
Initializes an image object from the contents supplied by a CGLayer object.
Initializes an image object from the contents supplied by a CGLayer object, using the specified options.
A key for the image tiles size. The associated value is an
NSArray that contains
NSNumber objects for the dimensions of the image tiles requested from the image provider.
A key for data needed by the image provider. The associated value is an object that contains the needed data.