Sdílet prostřednictvím


BitmapFactory.Options.OutColorSpace Property

Definition

If known, the color space the decoded bitmap will have.

[Android.Runtime.Register("outColorSpace", ApiSince=26)]
public Android.Graphics.ColorSpace OutColorSpace { get; set; }
[<Android.Runtime.Register("outColorSpace", ApiSince=26)>]
member this.OutColorSpace : Android.Graphics.ColorSpace with get, set

Property Value

Attributes

Remarks

If known, the color space the decoded bitmap will have. Note that the output color space is not guaranteed to be the color space the bitmap is encoded with. If not known (when the config is Bitmap.Config#ALPHA_8 for instance), or there is an error, it is set to null.

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

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