Instance Property

bitmapFormat

The format of the bitmap image representation.

Declaration

@property(readonly) NSBitmapFormat bitmapFormat;

Discussion

Returns 0 by default. The return value can indicate several different attributes, which are described in NSBitmapFormat.

See Also

Getting Information About the Image

NSBitmapFormat

Constants representing the various bitmap component formats.

bitsPerPixel

The number of bits allocated for each pixel in each plane of data.

bytesPerPlane

The number of bytes in each plane or channel of data.

bytesPerRow

The minimum number of bytes required to specify a scan line in each data plane.

planar

A Boolean value indicating whether the image data is in a planar configuration.

numberOfPlanes

The number of separate planes into which the image data is organized.

samplesPerPixel

The number of components for each pixel.