Serialize
Function Usage
Serializes the image memory data and metadata, and saves them to drives as files.
Prototype
1 | APP_ERROR Image::Serialize(const std::string& filePath, bool forceOverwrite = false); |
Description
Parameter |
Input/Output |
Description |
|---|---|---|
filePath |
Input |
Path for storing serialized data files (including file names). Soft links are not supported. |
forceOverwrite |
Input |
Indicates whether to forcibly overwrite the existing file when saving the file. The default value is false, indicating that the existing file is not overwritten. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: Image