8 #ifndef META_OCEAN_MEDIA_SPECIAL_IMAGE_BMP_H
9 #define META_OCEAN_MEDIA_SPECIAL_IMAGE_BMP_H
60 static bool encodeImage(
const Frame& frame, std::vector<uint8_t>& buffer,
const bool allowConversion =
true,
bool* hasBeenConverted =
nullptr);
This class implements Ocean's image class.
Definition: Frame.h:1792
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition: Frame.h:183
@ FORMAT_BGR24
Pixel format with byte order BGR and 24 bits per pixel.
Definition: Frame.h:226
PixelOrigin
Defines different types of frame origin positions.
Definition: Frame.h:1046
@ ORIGIN_UPPER_LEFT
The first pixel lies in the upper left corner, the last pixel in the lower right corner.
Definition: Frame.h:1050
@ ORIGIN_LOWER_LEFT
The first pixel lies in the lower left corner, the last pixel in the upper right corner.
Definition: Frame.h:1052
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15