nn::jpeg::CTR::JpegMpDecoder::GetLastUserMakerNoteSize Member Function

Syntax

#include <nn/jpeg.h>
size_t GetLastUserMakerNoteSize() const;

Arguments

None.

Return Values

If successful, returns the size of the MakerNote in bytes. Returns 0 on failure.

Description

Gets the size in bytes of 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 GetLastUserMakerNotePointer function to get a pointer to the MakerNote data. This function fails if the pointer to data is NULL.

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

Revision History

2010/06/14
Initial version.

CONFIDENTIAL