Class ColorSpaceTransform

Definition

Namespace:
Tizen.Multimedia.Util
Assembly:
Tizen.Multimedia.Util.dll
API Level:
4

Changes the colorspace of an image.

C#
Copy
public class ColorSpaceTransform : ImageTransform
Inheritance
System.Object
ColorSpaceTransform

Constructors

View Source

ColorSpaceTransform(ColorSpace)

Initializes a new instance of the ColorSpaceTransform class.

Declaration
C#
Copy
public ColorSpaceTransform(ColorSpace colorSpace)
Parameters
Type Name Description
ColorSpace colorSpace

The colorspace of output image.

Exceptions
Type Condition
System.ArgumentException

colorSpace is invalid.

System.NotSupportedException

colorSpace is not supported.

API Level: 4

Properties

View Source

ColorSpace

Gets or sets the colorspace of the result image.

Declaration
C#
Copy
public ColorSpace ColorSpace { get; set; }
Property Value
Type Description
ColorSpace
Exceptions
Type Condition
System.ArgumentException

value is invalid.

System.NotSupportedException

value is not supported.

API Level: 4
View Source

SupportedColorSpaces

Gets the supported colorspaces for ColorSpaceTransform.

Declaration
C#
Copy
public static IEnumerable<ColorSpace> SupportedColorSpaces { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ColorSpace>
API Level: 4

See Also