Creates a bitmap image using PNG-encoded data supplied by a data provider.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
A data provider supplying PNG-encoded data.
The decode array for the image. Typically a decode array is unnecessary, and you should pass
A Boolean value that specifies whether interpolation should occur. The interpolation setting specifies whether a pixel-smoothing algorithm should be applied to the image.
A CGColorRenderingIntent constant that specifies how to handle colors that are not located within the gamut of the destination color space of a graphics context.
A new CGImage. You are responsible for releasing this object by calling