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

Syntax

#include <nn/jpeg.h>

size_t GetLastSoftwareLength() const;

Arguments

None.

Return Values

If successful, returns the number of characters in the string (excluding the terminating "). This means that 0 may even be returned as the value when the function succeeds.
Returns 0 on failure.

Description

Gets the number of characters in the software name string of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.

If that previous operation failed, this function also fails. This function needs the image data to get the information. So 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