Sdílet prostřednictvím


BitmapFactory.Options.InPreferQualityOverSpeed Property

Definition

This member is deprecated.

[Android.Runtime.Register("inPreferQualityOverSpeed")]
public bool InPreferQualityOverSpeed { get; set; }
[<Android.Runtime.Register("inPreferQualityOverSpeed")>]
member this.InPreferQualityOverSpeed : bool with get, set

Property Value

Attributes

Remarks

This member is deprecated. As of android.os.Build.VERSION_CODES#N, this is ignored. The output will always be high quality.

In android.os.Build.VERSION_CODES#M and below, if inPreferQualityOverSpeed is set to true, the decoder will try to decode the reconstructed image to a higher quality even at the expense of the decoding speed. Currently the field only affects JPEG decode, in the case of which a more accurate, but slightly slower, IDCT method will be used instead.

Java documentation for android.graphics.BitmapFactory.Options.inPreferQualityOverSpeed.

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