Camera.Parameters.SetJpegThumbnailSize(Int32, Int32) Method

Definition

Caution

deprecated

Sets the dimensions for EXIF thumbnail in Jpeg picture.

[Android.Runtime.Register("setJpegThumbnailSize", "(II)V", "GetSetJpegThumbnailSize_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetJpegThumbnailSize (int width, int height);
[<Android.Runtime.Register("setJpegThumbnailSize", "(II)V", "GetSetJpegThumbnailSize_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetJpegThumbnailSize : int * int -> unit
override this.SetJpegThumbnailSize : int * int -> unit

Parameters

width
Int32

the width of the thumbnail, in pixels

height
Int32

the height of the thumbnail, in pixels

Attributes

Remarks

Sets the dimensions for EXIF thumbnail in Jpeg picture. If applications set both width and height to 0, EXIF will not contain thumbnail.

Applications need to consider the display orientation. See #setPreviewSize(int,int) for reference.

Java documentation for android.hardware.Camera.Parameters.setJpegThumbnailSize(int, int).

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

See also

  • <xref:Android.Hardware.Camera.Parameters.SetPreviewSize(System.Int32%2c+System.Int32)>