Initializes an image object from the contents of a Core Video image buffer, using the specified options.
- iOS 9.0+
- macOS 10.4+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
A dictionary that contains options for creating an image object. (See Image Dictionary Keys.) The pixel format is supplied by the
The initialized image object.
imageBuffer parameter must be in one of the following formats:
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.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software