Initializes an image object with data provided by an image provider, using the specified options.
- iOS 9.0+
- macOS 10.4+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
A data provider that implements the CIImageProvider informal protocol. Core Image maintains a strong reference to this object until the image is deallocated.
The width of the image data.
The height of the image data.
A pixel format constant. See Pixel Formats.
The color space of the image. If this value is
nil, the image is not color matched. Pass
nil for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables).
A dictionary that specifies image-creation options, either
kCIImageProviderUserInfo. See CIImageProvider for more information on these options.
The initialized image object.
Core Image does not populate the image until it needs the data.
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