Метод | Описание | |
---|---|---|
Gamma ( Color color, float value ) : Color |
Returns the given color adjusted by the given gamma value.
|
|
ToGammaFromLinear ( Color composite ) : Color |
Converts an pixel from a linear color-space to the equivalent gamma color-space.
|
|
ToLinear ( Color composite ) : Color |
Converts an pixel from an sRGB color-space to the equivalent linear color-space.
|
|
ToLinearFromGamma ( Color composite ) : Color |
Converts an pixel from a gamma color-space to the equivalent linear color-space.
|
|
ToSRGB ( Color linear ) : Color |
Converts an image from a linear color-space to the equivalent sRGB color-space.
|
Метод | Описание | |
---|---|---|
GetGammaLinearBytes ( ) : byte[] |
Gets an array of bytes representing each possible value of color component converted from linear to the gamma color space.
|
|
GetLinearBytes ( ) : byte[] |
Gets an array of bytes representing each possible value of color component converted from sRGB to the linear color space.
|
|
GetLinearGammaBytes ( ) : byte[] |
Gets an array of bytes representing each possible value of color component converted from gamma to the linear color space.
|
|
GetSRGBBytes ( ) : byte[] |
Gets an array of bytes representing each possible value of color component converted from linear to the sRGB color space.
|
|
LinearToSRGB ( float signal ) : float |
Gets the correct sRGB value from an linear signal.
|
|
SRGBToLinear ( float signal ) : float |
Gets the correct linear value from an sRGB signal.
|
public static Gamma ( Color color, float value ) : Color | ||
color | Color |
/// The |
value | float | /// The gamma value - Between .1 and 5. /// |
Результат | Color |
public static ToGammaFromLinear ( Color composite ) : Color | ||
composite | Color |
/// The |
Результат | Color |
public static ToLinear ( Color composite ) : Color | ||
composite | Color |
/// The |
Результат | Color |
public static ToLinearFromGamma ( Color composite ) : Color | ||
composite | Color |
/// The |
Результат | Color |
public static ToSRGB ( Color linear ) : Color | ||
linear | Color |
/// The |
Результат | Color |