Share via


ImageFrame.BytesPerPixel Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the pixel data size (bytes per pixel).

Syntax

public int BytesPerPixel { get; }
'Declaration
Public ReadOnly Property BytesPerPixel As Integer 

Property Value

Type: Int32
Pixel data size.

Remarks

The data buffer contains one frame of pixel data whose size is: width x height x number of bytes for each pixel.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

ImageFrame Class
ImageFrame Members
Microsoft.Kinect Namespace