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

Returns true on success. Returns false on failure.

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 processing fails, this function also fails. This function needs image data to get the information. 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