Flushes the image memory data to a binary file. You need to specify the file name and path.
1 | APP_ERROR Image::DumpBuffer(const std::string& filePath, bool forceOverwrite = false); |
Parameter |
Input/Output |
Description |
|---|---|---|
filePath |
Input |
Path of the data file (including the file name). 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. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |