SSP_SetJpegEncoderDateTimeNow

Syntax


BOOL SSP_SetJpegEncoderDateTimeNow(void);

Arguments

None.

Return Values

Returns TRUE if successful.
Returns FALSE if it fails.

Description

Registers the current date and time, which will be embedded in the JPEG file as the date and time the photo was taken. Internally, this function calls the SSP_SetJpegEncoderDateTime function after calling the SSP_GetDateTime function.
This function returns a non-zero value only when the SSP_GetDateTime function has failed.

This information is registered as the IFD0 DateTime, ExifIFD DateTimeOriginal and DateTimeDigitized tags.

Note: After the SSP_StartJpegEncoder function completes, date and time information set by this function are cleared, regardless of whether encoding succeeds or fails.
If multiple images are to be encoded, note that date and time information must be registered before each encoding.

See Also

SSP_GetDateTime
SSP_StartJpegEncoder

Revision History

2009/07/16 Changed to an explanation that matches function behavior.
2008/11/04 Added a description of conditions under which date and time information is cleared.
2008/09/15 Initial version.


CONFIDENTIAL