CGImage
A bitmap image or image mask.
Declaration
class CGImageOverview
A bitmap image is a rectangular array of pixels, each of which represents a single sample or data point from a source image.
Topics
Creating images
init(width:height:bitsPerComponent:bitsPerPixel:bytesPerRow:space:bitmapInfo:provider:decode:shouldInterpolate:intent:)init(jpegDataProviderSource:decode:shouldInterpolate:intent:)init(pngDataProviderSource:decode:shouldInterpolate:intent:)init(headroom:width:height:bitsPerComponent:bitsPerPixel:bytesPerRow:space:bitmapInfo:provider:decode:shouldInterpolate:intent:)
Examining an image
isMaskwidthheightbitsPerComponentbitsPerPixelbytesPerRowcolorSpacealphaInfoCGImageAlphaInfodataProviderdecodeshouldInterpolaterenderingIntentbitmapInfoCGBitmapInfoutType
Copying an image
Creating images by modifying an image
Creating image masks
Adopting high dynamic range (HDR)
Enhancing high dynamic range image renderingcontentHeadroomcalculatedContentHeadroomcontentAverageLightLevelcalculatedContentAverageLightLevelcopy(contentAverageLightLevel:)copyWithCalculatedHDRStats()
Constants
Working with Core Foundation types
Instance properties
See Also
Related Documentation
- Quartz 2D Programming Guide