nn::jpeg::CTR::JpegMpDecoder::GetLastDateTime Member Function

Syntax

#include <nn/jpeg.h>

size_t GetLastDateTime(
     char * pBuffer
) const;

Arguments

Name Description
out pBuffer Buffer storing date and time information. The size of the buffer is DATE_TIME_SIZE (20) bytes.
The date and time are obtained as a string with the format "YYYY:MM:DD HH:MM:DD" terminated with 0x00, for a total of 20 characters.

Return Values

Returns DATE_TIME_SIZE (20) on success. Returns 0 on failure.

Description

Gets the timestamp (the time of capture) 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 IFD0 DateTime tag.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL