Language

BitmapFactory.Options.OutConfig Property

Definition

If known, the config the decoded bitmap will have.

[Android.Runtime.Register("outConfig", ApiSince=26)]
public Android.Graphics.Bitmap.Config OutConfig { get; set; }
[<Android.Runtime.Register("outConfig", ApiSince=26)>]
member this.OutConfig : Android.Graphics.Bitmap.Config with get, set

Property Value

The output pixel configuration reported by the decoder.

Attributes

Remarks

If known, the config the decoded bitmap will have. On Android 8 through Android 17, the decoder can set this value before pixel decoding succeeds; a later error does not necessarily clear it.

Android reference for android.graphics.BitmapFactory.Options.outConfig.

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