nn::jpeg::CTR::JpegMpDecoder::GetLastUserMakerNotePointer Member Function

Syntax

#include <nn/jpeg.h>
const u8 * GetLastUserMakerNotePointer() const;

Arguments

None.

Return Values

If successful, returns a pointer to the MakerNote. Returns NULL on failure.

Description

Gets a pointer to the CTR application MakerNote of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.

If that processing fails, this function also fails. This function needs the image data to get the information, so do not destroy the image data.

Use the GetLastUserMakerNoteSize function to get the size of the MakerNote data in bytes. If the size of the the data is 0 bytes, both that function and this function fail.

Success of this function does not guarantee that the image was taken with a CTR application.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL