nn::jpeg::CTR::JpegMpDecoder::GetLastImageUid Member Function

Syntax

#include <nn/jpeg.h>

size_t GetLastImageUid(
     char * pBuffer
);

Parameters

Name Description
out pBuffer Buffer storing the unique image ID.
The ID is a 128-bit integer value represented as a 32-character hexadecimal ASCII string. When the terminating 0x00 character is included, this value has a byte length of IMAGE_UID_SIZE (33) bytes.

Return Values

Returns IMAGE_UID_SIZE (33) on success. Returns 0 on failure.

Description

Gets the unique ID from the EXIF IFD 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 image data to get the information. Do not destroy the image data. This information is the information registered in the EXIF IFD's ImageUniqueID tag.

Use the GetMpImageUidListOffset and GetMpImageUidListSize functions to get the unique ID list for individual images, which is included in the MP index IFD.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL