nn::jpeg::CTR::JpegMpEncoder::SetMpYawAngle Member Function

Syntax

#include <nn/jpeg.h>

void SetMpYawAngle(
     const Srational * pValue
);

Arguments

Name Description
in pValue Specifies the yaw angle. Specify NULL to clear the value.

Return Values

None.

Description

Registers the yaw angle to embed in the MP Attribute IFD.

This function is enabled if the StartMpEncoderFirst or StartMpEncoderNext function is used as the encoding function. This function is disabled if the StartMpEncoderLR function is used.

If this function is not called, or if the image's MP type (MpTypeCode) is not MP_TYPE_CODE_MULTI_VIEW_MULTI_ANGLE_IMAGE (a multi-angle image), this value is not embedded.

Call this function before calling the encoding function. The values specified by this function are cleared after the encoding function completes, regardless of whether the encoding function succeeded or failed. When encoding multiple times, you must call this function before each encoding function call. The values specified by this function are also cleared if you specify NULL for the pValue argument, if you call the ClearMpYawAngle function, or if you reinitialize the encoder object using the Initialize function.

Revision History

2010/10/22
Added a link to MpTypeCode.
2010/06/14
Initial version.

CONFIDENTIAL