ExifInterface.GetThumbnail Method

Definition

Returns the JPEG compressed thumbnail inside the image file, or null if there is no JPEG compressed thumbnail.

[Android.Runtime.Register("getThumbnail", "()[B", "GetGetThumbnailHandler")]
public virtual byte[]? GetThumbnail ();
[<Android.Runtime.Register("getThumbnail", "()[B", "GetGetThumbnailHandler")>]
abstract member GetThumbnail : unit -> byte[]
override this.GetThumbnail : unit -> byte[]

Returns

Byte[]
Attributes

Remarks

Returns the JPEG compressed thumbnail inside the image file, or null if there is no JPEG compressed thumbnail. The returned data can be decoded using android.graphics.BitmapFactory#decodeByteArray(byte[],int,int)

Java documentation for android.media.ExifInterface.getThumbnail().

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