Instance Property


The CoreGraphics image object this image was created from, if applicable.


@property(nonatomic, readonly) CGImageRef CGImage;


If this image was created using the initWithCGImage: or initWithContentsOfURL: initializer, this property’s value is the CGImageRef object that provides the image’s underlying image data. Otherwise, this property’s value is nil—in this case you can obtain a CoreGraphics image by rendering the image with the CIContext createCGImage:fromRect: method.

See Also

Accessing Original Image Content


The CoreVideo pixel buffer this image was created from, if applicable.


AVDepthData representation of the depth image.


AVPortraitEffectsMatte representation of portrait effects.

Beta Software

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