# SSP_SetJpegEncoderMakerNote

## Syntax

    static inline void SSP_SetJpegEncoderMakerNote(u8 *buffer, u16 size);

## Arguments

buffer | Data for the DSi camera to be embedded in the image at time of encoding.
size | Size of data for the DSi camera to be embedded in the image at time of encoding.

## Return Values

None.

## Description

Registers data for the DSi camera to be embedded in the maker note section of the JPEG file.
This function operates the same as calling `SSP_SetJpegEncoderMakerNoteEx` with the `SSP_MAKERNOTE_PHOTO` tag. When you want to embed data unique to the user application, use `SSP_SetJpegEncoderMakerNoteEx` with `SSP_MAKERNOTE_USER`.
Note:
After the `SSP_StartJpegEncoder` function completes, data set by this function is cleared, regardless of whether encoding succeeds or fails.
If multiple images are to be encoded, note that the data must be registered before each encoding.

## See Also

`SSP_StartJpegEncoder`
`SSP_SetJpegEncoderMakerNoteEx`

## Revision History

2008/11/04 Added a description of conditions under which set values are cleared.
2008/09/15 Initial version.

CONFIDENTIAL