Android.Graphics.ImageFormat.Nv21 Field
YCrCb format used for images, which uses the NV21 encoding format.

Value: 17

Syntax

[Android.Runtime.Register("NV21")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.")]
public const ImageFormatType Nv21

Remarks

YCrCb format used for images, which uses the NV21 encoding format.

This is the default format for Android.Hardware.Camera preview images, when not otherwise set with NoType:android/hardware/Camera$Parameters;Href=../../../reference/android/hardware/Camera.Parameters.html#setPreviewFormat(int).

For the Android.Hardware.Camera2 API, the ImageFormat.Yuv420888 format is recommended for YUV output instead.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8