Go to the source code of this file.
|
OCEAN_IO_IMAGE_EXPORT Frame | Ocean::IO::Image::decodeImage (const void *buffer, const size_t size, const std::string &imageBufferTypeIn=std::string(), std::string *imageBufferTypeOut=nullptr) |
| Decodes (reads/loads) an image from a given binary buffer. More...
|
|
OCEAN_IO_IMAGE_EXPORT bool | Ocean::IO::Image::encodeImage (const Frame &frame, const std::string &imageType, std::vector< uint8_t > &buffer, const Properties &properties=Properties()) |
| Encodes (writes) a given frame as image (with specified image type) to a resulting buffer. More...
|
|
OCEAN_IO_IMAGE_EXPORT Frame | Ocean::IO::Image::readImage (const std::string &filename) |
| Reads/loads an image from a specified file. More...
|
|
OCEAN_IO_IMAGE_EXPORT bool | Ocean::IO::Image::writeImage (const Frame &frame, const std::string &filename, const Properties &properties=Properties()) |
| Writes a given frame to a specified file. More...
|
|
static bool | Ocean::IO::Image::encodeImage (const Frame &, const std::string &, std::vector< uint8_t > &, const float)=delete |
| Disabled function to prevent wrong usage. More...
|
|
static bool | Ocean::IO::Image::writeImage (const Frame &, const std::string &, const float)=delete |
| Disabled function to prevent wrong usage. More...
|
|