DngCreator.SetThumbnail Method

Definition

Overloads

SetThumbnail(Bitmap)

Set the thumbnail image.

SetThumbnail(Image)

Set the thumbnail image.

SetThumbnail(Bitmap)

Set the thumbnail image.

[Android.Runtime.Register("setThumbnail", "(Landroid/graphics/Bitmap;)Landroid/hardware/camera2/DngCreator;", "")]
public Android.Hardware.Camera2.DngCreator SetThumbnail (Android.Graphics.Bitmap pixels);
[<Android.Runtime.Register("setThumbnail", "(Landroid/graphics/Bitmap;)Landroid/hardware/camera2/DngCreator;", "")>]
member this.SetThumbnail : Android.Graphics.Bitmap -> Android.Hardware.Camera2.DngCreator

Parameters

pixels
Bitmap

a android.graphics.Bitmap of pixel data.

Returns

DngCreator

this #DngCreator object.

Attributes

Exceptions

if the given thumbnail image has a dimension larger than MaxThumbnailDimension.

Remarks

Java documentation for android.hardware.camera2.DngCreator.setThumbnail(android.graphics.Bitmap).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetThumbnail(Image)

Set the thumbnail image.

[Android.Runtime.Register("setThumbnail", "(Landroid/media/Image;)Landroid/hardware/camera2/DngCreator;", "")]
public Android.Hardware.Camera2.DngCreator SetThumbnail (Android.Media.Image pixels);
[<Android.Runtime.Register("setThumbnail", "(Landroid/media/Image;)Landroid/hardware/camera2/DngCreator;", "")>]
member this.SetThumbnail : Android.Media.Image -> Android.Hardware.Camera2.DngCreator

Parameters

pixels
Image

an android.media.Image object with the format android.graphics.ImageFormat#YUV_420_888.

Returns

DngCreator

this #DngCreator object.

Attributes

Exceptions

if the given thumbnail image has a dimension larger than MaxThumbnailDimension.

Remarks

Java documentation for android.hardware.camera2.DngCreator.setThumbnail(android.media.Image).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to