nn::jpeg::CTR::JpegMpDecoder::GetLastOrientation Member Function

Syntax

#include <nn/jpeg.h>

bool GetLastOrientation(
     u16 * pBuffer
);

Arguments

Name Description
out pBuffer Buffer storing the image orientation.

Return Values

When the function succeeds it returns true. When it fails it returns false.

Description

Gets the image orientation from the Exif IFD of the image that was either decoded or whose Exif information was extracted immediately prior to this call.

If that prior operation failed, this function also fails. This function needs the image data to get the information. So do not destroy the image data.
This information is the information registered in the IFD0 Orientation tag.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL