87 static void WriteAsBMP(
const std::string& filePath,
const Image& imageToSave);
158 static void WriteAsRAW(
const std::string& filePath,
const Image& imageToSave);
174 static void Write(
const std::string& filePath,
const Image& imageToSave);
181 ImageBackendAccessor::BackendHandle(imageToSave), filePath.c_str(), filePath.size());
186 const std::string& filePath,
const Image& imageToSave,
const PNGParameter& parameter)
190 ImageBackendAccessor::BackendHandle(imageToSave), parameter.
Quality, filePath.c_str(), filePath.size());
195 const std::string& filePath,
const Image& imageToSave,
const JPEGParameter& parameter)
199 ImageBackendAccessor::BackendHandle(imageToSave), parameter.
Quality, filePath.c_str(), filePath.size());
207 ImageBackendAccessor::BackendHandle(imageToSave), filePath.c_str(), filePath.size());
215 ImageBackendAccessor::BackendHandle(imageToSave), filePath.c_str(), filePath.size());
uint32_t Quality
Definition: peak_ipl_image_writer.hpp:49
static void WriteAsPNG(const std::string &filePath, const Image &imageToSave, const PNGParameter ¶meter=PNGParameter())
Writes the specified image to the filesystem as PNG image.
Definition: peak_ipl_image_writer.hpp:185
Parameter for the PNG write e.g. compression quality.
Definition: peak_ipl_image_writer.hpp:43
static void WriteAsRAW(const std::string &filePath, const Image &imageToSave)
Writes the specified image to the filesystem as a raw binary image.
Definition: peak_ipl_image_writer.hpp:203
#define PEAK_IPL_C_ABI_PREFIX
Definition: peak_ipl_dll_defines.h:16
Writes an image to a file.
Definition: peak_ipl_image_writer.hpp:35
static void WriteAsJPG(const std::string &filePath, const Image &imageToSave, const JPEGParameter ¶meter=JPEGParameter())
Writes the specified image to the filesystem as JPEG image.
Definition: peak_ipl_image_writer.hpp:194
The "peak::ipl" namespace contains the whole image processing library.
Definition: peak_ipl_binning.hpp:16
PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsBMP(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Writes an image as BMP image file.
void ExecuteAndMapReturnCodes(const CallableType &callableObject)
Definition: peak_ipl_exception.hpp:182
Stores the pixel format, width and height of an image and the pointer to the image buffer...
Definition: peak_ipl_image.hpp:37
PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsJPG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char *filePath, size_t filePathSize)
Writes an image as JPEG image file.
PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsRAW(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Writes an image as raw data binary file.
PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsPNG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char *filePath, size_t filePathSize)
Writes an image as PNG image file.
Parameter for the JPEG write e.g. compression quality.
Definition: peak_ipl_image_writer.hpp:55
JPEGParameter()
Definition: peak_ipl_image_writer.hpp:57
static void Write(const std::string &filePath, const Image &imageToSave)
Writes the specified image to the filesystem. The type is specified by the given file ending in file ...
Definition: peak_ipl_image_writer.hpp:211
PNGParameter()
Definition: peak_ipl_image_writer.hpp:45
static void WriteAsBMP(const std::string &filePath, const Image &imageToSave)
Writes the specified image to the filesystem as BMP image.
Definition: peak_ipl_image_writer.hpp:177
uint32_t Quality
Definition: peak_ipl_image_writer.hpp:61
PEAK_IPL_C_API PEAK_IPL_ImageWriter_Write(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Writes an image to file and selects the format by file ending. In case the format has parameters...