Instance Property

size

The size of the image, in pixels.

Declaration

var size: CGSize { get }

See Also

Buffer Properties

var data: UnsafeMutableRawPointer!

A pointer to memory for image data.

var height: vImagePixelCount

The height of the image, in pixels.

var width: vImagePixelCount

The width of the image, in pixels.

var rowBytes: Int

The distance, in bytes, between the start of one pixel row and the next in an image, including any unused space between them.