nn::jpeg::CTR::JpegMpEncoder::SetGpsData Member Function#include <nn/jpeg.h>
void SetGpsData(
const GpsData * pGps
);
| Name | Description | |
|---|---|---|
| in | pGps | Specifies the GPS IFD. The GPS IFD is not embeded if NULL is specified. |
Embeds GPS_IFD in JPEG.
Registers the structure used to register the specified GPS IFD in the encoder object. Only the pointer to the structure is registered. because this structure is accessed while encoding functions (StartJpegEncoder, StartMpEncoderLR ,StartMpEncoderFirst , or StartMpEncoderNext) execute, it must be maintained until the encoding function exits whether succesfully or on an error.
The options are enabled for two images when encoding with StartMpEncoderLR.
Refer to InitializeGpsData for details on working with this structure.
Call this function before calling the encoding function. The values specified by this function are cleared after the encoding function completes, regardless of whether the encoding function succeeded or failed. When encoding multiple times, you must call this function before each encoding function call. The values specified by this function are also cleared if you specify NULL for the pGps argument, if you call the ClearGpsData function, or if you reinitialize the encoder object using the Initialize function.
CONFIDENTIAL