nn::jpeg::CTR::JpegMpDecoder::GetLastSoftwareLength Member Function

Syntax

#include <nn/jpeg.h>

size_t GetLastSoftwareLength() const;

Arguments

None.

Return Values

If successful, the function returns the number of characters in the text string (excluding the terminating 0x00). This means that success may also return 0.
Returns 0 on failure.

Description

Gets the number of characters in the program name string 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 Software tag.

This function fails if the string is not 0-terminated. Use the GetLastSoftwarePointer function to get the string pointer.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL