ColorSpaceProfiles.GetSupportedColorSpaces(ImageFormatType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return a list of color spaces that are compatible with an ImageFormat.
[Android.Runtime.Register("getSupportedColorSpaces", "(I)Ljava/util/Set;", "", ApiSince=34)]
public System.Collections.Generic.ICollection<Android.Graphics.ColorSpace.Named> GetSupportedColorSpaces (Android.Graphics.ImageFormatType imageFormat);
[<Android.Runtime.Register("getSupportedColorSpaces", "(I)Ljava/util/Set;", "", ApiSince=34)>]
member this.GetSupportedColorSpaces : Android.Graphics.ImageFormatType -> System.Collections.Generic.ICollection<Android.Graphics.ColorSpace.Named>
Parameters
- imageFormat
- ImageFormatType
Returns
set of color spaces
- Attributes
Remarks
Return a list of color spaces that are compatible with an ImageFormat. If ImageFormat.UNKNOWN is provided, this function will return a set of all unique color spaces supported by the device, regardless of image format.
Color spaces which are compatible with ImageFormat.PRIVATE are able to be used with SurfaceView, SurfaceTexture, MediaCodec and MediaRecorder.
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.