Structure

vImage_CGImageFormat

The description of a Core Graphics image.

Declaration

typedef struct vImage_CGImageFormat {
    ...
} vImage_CGImageFormat;

Overview

This structure describes the ordering and number of the color channels, the size and type of the data in the color channels, and whether or not the data is premultiplied by alpha. This format mirrors the image format descriptors used by Core Graphics to create objects such as CGImageRef and CGBitmapContext.

Topics

Instance Properties

bitmapInfo

The component information that describes the color channels.

bitsPerComponent

The number of bits needed to represent one channel of data in one pixel.

bitsPerPixel

The number of bits needed to represent one pixel.

colorSpace

A description of the position of the pixel data in the image, relative to a reference XYZ color space.

decode

The decode array for the image.

renderingIntent

A rendering intent constant that specifies how Core Graphics should handle colors that aren’t located within the destination color space gamut.

version

Reserved for future expansion—pass 0 here.

See Also

Creating Core Graphics Image Formats

vImageCreateRGBColorSpaceWithPrimariesAndTransferFunction

Creates an RGB color space based on primitives typically found in Y'CbCr specifications.

vImageRGBPrimaries

A structure that represents the chromaticity of primaries defining a color space.

vImageCreateMonochromeColorSpaceWithWhitePointAndTransferFunction

Creates a monochrome color space based on primitives typically found in Y'CbCr specifications.

vImageWhitePoint

A structure that represents a white point according to the CIE 1931 color space.

vImageTransferFunction

A structure that represents a transfer function to convert from linear to nonlinear RGB.

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