IWICDevelopRaw::GetToneCurve method

Gets the tone curve of the raw image.

Syntax


HRESULT GetToneCurve(
  [in]  UINT            cbToneCurveBufferSize,
  [out] WICRawToneCurve *pToneCurve,
  [out] UINT            *pcbActualToneCurveBufferSize
);

Parameters

cbToneCurveBufferSize [in]

Type: UINT

The size of the pToneCurve buffer.

pToneCurve [out]

Type: WICRawToneCurve*

A pointer that receives the WICRawToneCurve of the raw image.

pcbActualToneCurveBufferSize [out]

Type: UINT*

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

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show: