1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> 5<meta http-equiv="Content-Style-Type" content="text/css" /> 6<title>SSP_SetJpegEncoderDateTime</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1>SSP_SetJpegEncoderDateTime <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13 14<pre><code> 15void SSP_SetJpegEncoderDateTime(u8 *buffer); 16</code></pre> 17 18<h2>Arguments</h2> 19<table style="width:100%"> 20<tbody> 21<tr> 22<td style="width:13%"><SPAN class="argument">buffer</SPAN></td> 23<td style="width:87%">The date and time the camera took the photo, which is embedded in the image when it is encoded.<br/>Use the 20-character string format "<CODE>YYYY:MM:DD HH:MM:DD</CODE>" and terminate it with <CODE>0x00</CODE>.</td> 24</tr> 25</tbody> 26</table> 27 28 29<h2>Return Values</h2> 30<p>None.</p> 31 32<h2>Description</h2> 33<p>Registers the date and time information to embed in the JPEG file as the date and time the photo was taken. This information is registered as the <CODE>IFD0</CODE> <CODE>DateTime</CODE>, <CODE>ExifIFD</CODE> <CODE>DateTimeOriginal</CODE>, and <CODE>DateTimeDigitized</CODE> tags.<br><br><B>Note:</B> After the <a href="SSP_StartJpegEncoder.html"><CODE>SSP_StartJpegEncoder</CODE></a> function completes, date and time information set by this function are cleared, regardless of whether encoding succeeds or fails.<br>If multiple images are to be encoded, note that date and time information must be registered before each encoding. 34</p> 35 36<h2>See Also</h2> 37<p><a href="SSP_SetJpegEncoderDateTimeNow.html"><CODE>SSP_SetJpegEncoderDateTimeNow</CODE></a><BR> <a href="SSP_StartJpegEncoder.html"><CODE>SSP_StartJpegEncoder</CODE></a></p> 38 39<h2>Revision History</h2> 40<p> 412008/11/04 Added a description of conditions under which date and time information is cleared.<br> 2008/09/15 Initial version. 42</p> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45