You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`[in] base64String` A base64 encoded string that represents an image.
45
+
46
+
`[out] errorCode` The error code.
47
+
48
+
**Return value**
49
+
50
+
Returns a pointer to a `CImageData` object representing the image if succeeds, nullptr otherwise.
51
+
52
+
**Remarks**
53
+
54
+
If the file format is gif, pdf or tiff, we read the first page of the image file. The caller is responsible for freeing the memory allocated for the image.
`[in] imageData` A pointer to the image data to be saved.
126
+
127
+
`[in] imageFormat` The image file format to be saved.
128
+
129
+
`[in] base64String` A base64 encoded string that represents an image. The string is allocated by the SDK and must be freed by calling CCoreModule::FreeBytes.
130
+
131
+
**Return value**
132
+
133
+
Returns an integer indicating the success of the operation. 0 indicates success, while a non-zero value indicates an error occurred.
134
+
135
+
| Error Code | Value | Description |
136
+
| :--------- | :---- | :---------- |
137
+
| EC_NULL_POINTER | -10002 | The ImageData object is null. |
0 commit comments