Enum ComponentTransferType

Enum ComponentTransferType

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

Specifies the type of component transfer function to be applied in the FeComponentTransfer filter primitive of an SVG.

[ComVisible(true)]
public enum ComponentTransferType

Fields

Discrete = 2

Uses a set of discrete values to define the function in the filter.

The discrete function within FeComponentTransfer maps input values to a set of fixed output values, creating a step function for color component transformation.

Gamma = 4

Defines a gamma correction transformation in the filter.

The gamma function in FeComponentTransfer applies a gamma correction to the input values, effectively adjusting the midtones of an image without significantly altering the shadows and highlights.

Identity = 0

Represents no change in the input graphic. This is the default type.

The identity function leaves the input unchanged within the FeComponentTransfer filter. It is useful when no transformation is desired for a specific color component.

Linear = 3

Defines a linear transformation of the component within the filter.

The linear function in FeComponentTransfer applies a straightforward linear transformation to the input values, suitable for basic adjustments like brightness or contrast in color components.

Table = 1

Uses a lookup table to define the function within the filter.

The table function in FeComponentTransfer maps input values to output values based on a predefined set of values, allowing for complex, non-linear transformations of color components.

Remarks

The FeComponentTransfer filter primitive allows for individual manipulation of color components (RGB and alpha) of graphics elements using different types of transfer functions. Each type defines a distinct method of computation for color component transformation within the filter.

 English