Instance Method
initWithCVImageBuffer:
Initializes an image object from the contents of a Core Video image buffer.
SDKs
- iOS 9.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
Return Value
The initialized image object.
Discussion
The imageBuffer
parameter must be in one of the following formats:
See Also
Initializing an Image
- initWithColor:
Initializes an image of infinite extent whose entire content is the specified color.
- initWithImage:
Initializes an image object with the specified UIKit image object.
- initWithCGLayer:
Initializes an image object from the contents supplied by a CGLayer object.
Deprecated- initWithCGLayer:options:
Initializes an image object from the contents supplied by a CGLayer object, using the specified options.
DeprecatedkCIImageProviderTileSize
A key for the image tiles size. The associated value is an NSArray
that containsNSNumber
objects for the dimensions of the image tiles requested from the image provider.
kCIImageProviderUserInfo
A key for data needed by the image provider. The associated value is an object that contains the needed data.