8 #ifndef META_OCEAN_MEDIA_IMAGEIO_IMAGE_H
9 #define META_OCEAN_MEDIA_IMAGEIO_IMAGE_H
56 class OCEAN_MEDIA_IIO_EXPORT
Image
77 static Frame decodeImage(
const void* buffer,
const size_t size,
const std::string& imageBufferTypeIn = std::string(), std::string* imageBufferTypeOut =
nullptr,
Media::Image::Properties* properties =
nullptr);
107 static bool encodeImage(
const Frame& frame,
const std::string& imageType, std::vector<uint8_t>& buffer,
const bool allowConversion,
bool* hasBeenConverted =
nullptr,
const Properties& properties =
Properties());
152 static bool encodeImage(
const Frame&,
const std::string&, std::vector<uint8_t>&,
const float) =
delete;
This class implements Ocean's image class.
Definition: Frame.h:1792
Media::Image::Properties Properties
Re-definition of Media::Image::Properties.
Definition: io/image/Image.h:54
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15