Android.Hardware.Camera2.DngCreator.SetThumbnail Method
Set the thumbnail image.

Syntax

[Android.Runtime.Register("setThumbnail", "(Landroid/graphics/Bitmap;)Landroid/hardware/camera2/DngCreator;", "")]
public DngCreator SetThumbnail (Android.Graphics.Bitmap pixels)

Parameters

pixels
a Android.Graphics.Bitmap of pixel data.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the given thumbnail image has a dimension larger than DngCreator.MaxThumbnailDimension.

Remarks

Set the thumbnail image.

Pixel data will be converted to a Baseline TIFF RGB image, with 8 bits per color channel. The alpha channel will be discarded. Thumbnail images with a dimension larger than DngCreator.MaxThumbnailDimension will be rejected.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0