CBmp Class
C++
#include "Rx.Codec/Bmp.h"
class CBmp : public IImageCodec
BMP Codec.
Constructors
CBmp() | Default constructor. |
Destructor
~CBmp() | Destructor. |
Methods
Encode(pTrgMem, xSrcImg) | Encodes the image pSrcImg and store the encoded data in pTrgMem. Works only with: RGB (8 Bit, 24 Bit), Lum (8 Bit) |
Decode(xTrgImg, pSrcMem) | Decodes the data in pSrcMem and store the decoded image in pTrgImg. (Always BGR/BGRA or LUM). Works only with: PixelType: RGB (24 Bit), Lum (8 Bit) DataType: UByte, Byte, Short, UShort, Int, UInt, Float, Double. |
GetCodecName() | Gets the codec name. |
Encode(trgMemory, srcImg) | Encodes the given image and stores the encoded data in the given memory. |
Decode(trgImg, srcMemory) | Decodes the data in the given memory and stores the result in the given image. |