![]() |
IDS peak ICV v1.2.0
|
#include <peak_icv/io/peak_icv_image_writer.hpp>
Public Member Functions | |
| void | Write (const std::string &filePath, const Image &image) const |
| Saves the specified image to a file. | |
Provides functionality to write images to files in various supported formats.
Definition at line 30 of file peak_icv_image_writer.hpp.
|
inline |
Saves the specified image to a file.
The file format is determined by the specified file extension of the file name.
Supported image formats (with required file extensions):
Compression settings:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.
| [in] | filePath | The path of the file to write to, as a UTF-8 encoded string. |
| [in] | image | The image to save. |
| NotSupportedException | The specified file extension or pixel format is not supported. |
| IOException | The specified file path is invalid or lacks write permissions. |
Definition at line 320 of file peak_icv_image_writer.hpp.