ID_GetRAWRotateInfo function

Function that returns the rotate and flip values that need to be applied to the RAW file.

Syntax

PLUGIN_API int __stdcall ID_GetRAWRotateInfo
(
   ID_StateHdl hs,
   int& iRotateAngle,
   BOOL& bVerticalFlip
);

Parameters

hs

Type: ID_StateHdl

[in] Image state handle; hs is set by the host application to the same value that was passed to it by the plug-in during the relevant call to ID_OpenImage.

iRotateAngle

Type: int&

[out] Angle image needs to be rotated by

bVerticalFlip

Type: BOOL&

[out] Does image need to be vertically flipped

Return Value

For a description of return values, see Return Values.

Remarks

These rotate and flip values are not quite the same as the EXIF orientation.

Requirements

Header: ID_PlugIn.h

See also: