Class DevelopRaw
[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
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
ExposureCompensation
Gets or sets the exposure compensation stop value of the raw image.
public double ExposureCompensation { get; set; }
Property Value
Gamma
Gets or sets the current gamma setting of the raw image.
public double Gamma { get; set; }
Property Value
NamedWhitePoint
Gets or sets the named white point of the raw image.
public NamedWhitePoint NamedWhitePoint { get; set; }
Property Value
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
RenderMode
Gets or sets the current RawRenderMode.
public RawRenderMode RenderMode { get; set; }
Property Value
Rotation
Gets or sets the current rotation angle.
public double Rotation { get; set; }
Property Value
Saturation
Gets or sets the saturation value of the raw image.
public double Saturation { get; set; }
Property Value
Sharpness
Gets or sets the sharpness value of the raw image.
public double Sharpness { get; set; }
Property Value
Tint
Gets or sets the tint value of the raw image.
public double Tint { get; set; }
Property Value
WhitePointKelvin
Gets or sets the white point Kelvin temperature of the raw image.
public int WhitePointKelvin { get; set; }
Property Value
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
intA reference that receives the minimum Kelvin temperature.
maxKelvinTempRef
intA reference that receives the maximum Kelvin temperature.
kelvinTempStepValueRef
intA 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
intThe size of the pToneCurve buffer.
toneCurveRef
RawToneCurve[]A reference that receives the RawToneCurve of the raw image.
actualToneCurveBufferSizeRef
nintA 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
intA reference that receives the red white point value.
greenRef
intA reference that receives the green white point value.
blueRef
intA reference that receives the blue white point value.
LoadParameterSet(RawParameterSet)
Sets the desired RawParameterSet option.
public void LoadParameterSet(RawParameterSet parameterSet)
Parameters
parameterSet
RawParameterSetNo documentation.
QueryRawCapabilitiesInfo(ref RawCapabilitiesInfo)
Retrieves information about which capabilities are supported for a raw image.
public void QueryRawCapabilitiesInfo(ref RawCapabilitiesInfo infoRef)
Parameters
infoRef
RawCapabilitiesInfoA 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
intThe 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
intThe red white point value.
green
intThe green white point value.
blue
intThe 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,
Operators
explicit operator DevelopRaw(nint)
public static explicit operator DevelopRaw(nint nativePtr)
Parameters
nativePtr
nint