BitmapFactory.Options.InMutable Property

Definition

If set, decode methods will always return a mutable Bitmap instead of an immutable one.

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

Property Value

Attributes

Remarks

If set, decode methods will always return a mutable Bitmap instead of an immutable one. This can be used for instance to programmatically apply effects to a Bitmap loaded through BitmapFactory.

Can not be set simultaneously with inPreferredConfig = android.graphics.Bitmap.Config#HARDWARE, because hardware bitmaps are always immutable.

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

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