Dynamsoft Panorama - API Reference
|
Functions | |
DPS_API int | DPS_InitRuntimeSettingsWithString (void *hStitcher, const char *pJsonSetting, char error[], int errorMsgBufferLen) |
DPS_API int | DPS_OutputSettingsToStringPtr (void *hStitcher, char **content) |
DPS_API void | DPS_FreeSettingsString (char **content) |
DPS_API int | DPS_SetBlockImgSavePath (void *hStitcher, const char *path) |
DPS_API void DPS_FreeSettingsString | ( | char ** | content | ) |
Frees memory allocated for runtime settings string.
[in] | content | The runtime settings string. |
DPS_API int DPS_InitRuntimeSettingsWithString | ( | void * | hStitcher, |
const char * | pJsonSetting, | ||
char | error[], | ||
int | errorMsgBufferLen | ||
) |
Initializes Panorama settings with the parameters obtained from a JSON string.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | pJsonSetting | A JSON string that represents the content of the settings. |
[in,out] | error | The buffer is allocated by the caller. The recommended length is 256. The error message will be copied to the buffer. |
[in] | errorMsgBufferLen | The length of the allocated buffer. |
DPS_API int DPS_OutputSettingsToStringPtr | ( | void * | hStitcher, |
char ** | content | ||
) |
Outputs runtime settings to a string.
[in] | hStitcher | Handle of the Panorama instance. |
[in,out] | content | The output string which stores the contents of current settings. |
DPS_API int DPS_SetBlockImgSavePath | ( | void * | hStitcher, |
const char * | path | ||
) |
Set the save path of small block images.
[in] | path | The save path of small block images. |