Share via


ImageDecoder.ImageInfo.ColorSpace Property

Definition

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

public virtual Android.Graphics.ColorSpace? ColorSpace { [Android.Runtime.Register("getColorSpace", "()Landroid/graphics/ColorSpace;", "GetGetColorSpaceHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getColorSpace", "()Landroid/graphics/ColorSpace;", "GetGetColorSpaceHandler", ApiSince=28)>]
member this.ColorSpace : Android.Graphics.ColorSpace

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.ImageDecoder.ImageInfo.getColorSpace().

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