Table of Contents

Class DevelopRaw

Namespace
SharpDX.WIC
Assembly
SharpDX.Direct2D1.dll
[Guid("fbec5e44-f7be-4b65-b7f8-c0c81fef026d")]
public class DevelopRaw : BitmapFrameDecode
Inheritance
DevelopRaw
Inherited Members

Constructors

DevelopRaw(nint)

public DevelopRaw(nint nativePtr)

Parameters

nativePtr nint

Properties

Contrast

Gets or sets the contrast value of the raw image.

public double Contrast { get; set; }

Property Value

double

CurrentParameterSet

Gets the current set of parameters.

public PropertyBag CurrentParameterSet { get; }

Property Value

PropertyBag

DestinationColorContext

Sets the destination color context.

public ColorContext DestinationColorContext { set; }

Property Value

ColorContext

ExposureCompensation

Gets or sets the exposure compensation stop value of the raw image.

public double ExposureCompensation { get; set; }

Property Value

double

Gamma

Gets or sets the current gamma setting of the raw image.

public double Gamma { get; set; }

Property Value

double

NamedWhitePoint

Gets or sets the named white point of the raw image.

public NamedWhitePoint NamedWhitePoint { get; set; }

Property Value

NamedWhitePoint

Remarks

If the named white points are not supported by the raw image or the raw file contains named white points that are not supported by this API, the codec implementer should still mark this capability as supported.

If the named white points are not supported by the raw image, a best effort should be made to adjust the image to the named white point even when it isn't a pre-defined white point of the raw file.

If the raw file containes named white points not supported by this API, the codec implementer should support the named white points in NamedWhitePoint.

NoiseReduction

Gets or sets the noise reduction value of the raw image.

public double NoiseReduction { get; set; }

Property Value

double

RenderMode

Gets or sets the current RawRenderMode.

public RawRenderMode RenderMode { get; set; }

Property Value

RawRenderMode

Rotation

Gets or sets the current rotation angle.

public double Rotation { get; set; }

Property Value

double

Saturation

Gets or sets the saturation value of the raw image.

public double Saturation { get; set; }

Property Value

double

Sharpness

Gets or sets the sharpness value of the raw image.

public double Sharpness { get; set; }

Property Value

double

Tint

Gets or sets the tint value of the raw image.

public double Tint { get; set; }

Property Value

double

WhitePointKelvin

Gets or sets the white point Kelvin temperature of the raw image.

public int WhitePointKelvin { get; set; }

Property Value

int

Methods

GetKelvinRangeInfo(out int, out int, out int)

Gets the information about the current Kelvin range of the raw image.

public void GetKelvinRangeInfo(out int minKelvinTempRef, out int maxKelvinTempRef, out int kelvinTempStepValueRef)

Parameters

minKelvinTempRef int

A reference that receives the minimum Kelvin temperature.

maxKelvinTempRef int

A reference that receives the maximum Kelvin temperature.

kelvinTempStepValueRef int

A reference that receives the Kelvin step value.

GetToneCurve(int, RawToneCurve[], nint)

Gets the tone curve of the raw image.

public void GetToneCurve(int toneCurveBufferSize, RawToneCurve[] toneCurveRef, nint actualToneCurveBufferSizeRef)

Parameters

toneCurveBufferSize int

The size of the pToneCurve buffer.

toneCurveRef RawToneCurve[]

A reference that receives the RawToneCurve of the raw image.

actualToneCurveBufferSizeRef nint

A reference that receives the size needed to obtain the tone curve structure.

GetWhitePointRGB(out int, out int, out int)

Gets the white point RGB values.

public void GetWhitePointRGB(out int redRef, out int greenRef, out int blueRef)

Parameters

redRef int

A reference that receives the red white point value.

greenRef int

A reference that receives the green white point value.

blueRef int

A reference that receives the blue white point value.

LoadParameterSet(RawParameterSet)

Sets the desired RawParameterSet option.

public void LoadParameterSet(RawParameterSet parameterSet)

Parameters

parameterSet RawParameterSet

No documentation.

QueryRawCapabilitiesInfo(ref RawCapabilitiesInfo)

Retrieves information about which capabilities are supported for a raw image.

public void QueryRawCapabilitiesInfo(ref RawCapabilitiesInfo infoRef)

Parameters

infoRef RawCapabilitiesInfo

A reference that receives RawCapabilitiesInfo that provides the capabilities supported by the raw image.

Remarks

It is recommended that a codec report that a capability is supported even if the results at the outer range limits are not of perfect quality.

SetToneCurve(int, RawToneCurve[])

Sets the tone curve for the raw image.

public void SetToneCurve(int toneCurveSize, RawToneCurve[] toneCurveRef)

Parameters

toneCurveSize int

The size of the pToneCurve structure.

toneCurveRef RawToneCurve[]

The desired tone curve.

SetWhitePointRGB(int, int, int)

Sets the white point RGB values.

public void SetWhitePointRGB(int red, int green, int blue)

Parameters

red int

The red white point value.

green int

The green white point value.

blue int

The blue white point value.

Remarks

Due to other white point setting methods (e.g. SetWhitePointKelvin), care must be taken by codec implementers to ensure proper interoperability. For instance, if the caller sets via a named white point then the codec implementer may whis to disable reading back the correspoinding Kelvin temperature. In specific cases where the codec implementer wishes to deny a given action because of previous calls, should be returned.

Operators

explicit operator DevelopRaw(nint)

public static explicit operator DevelopRaw(nint nativePtr)

Parameters

nativePtr nint

Returns

DevelopRaw