![]() |
Fledge
An open source edge computing platform for industrial users
|
The Base64DPImage provide functionality on top of the simple DPImage class that is used to encode the buffer in base64 such that it may be stored as string data. More...
#include <base64dpimage.h>


Public Member Functions | |
| Base64DPImage (const std::string &encoded) | |
| Construct a DPImage by decoding a Base64 encoded buffer. | |
| std::string | encode () |
| Base 64 encode the DPImage. More... | |
Public Member Functions inherited from DPImage | |
| DPImage (int width, int height, int depth, void *data) | |
| DPImage constructor. More... | |
| DPImage (const DPImage &rhs) | |
| Copy constructor. More... | |
| DPImage & | operator= (const DPImage &rhs) |
| Assignment operator. More... | |
| ~DPImage () | |
| Destructor for the image. | |
| int | getHeight () |
| Return the height of the image. | |
| int | getWidth () |
| Return the width of the image. | |
| int | getDepth () |
| Return the depth of the image in bits. | |
| void * | getData () |
| Return a pointer to the raw data of the image. | |
Additional Inherited Members | |
Protected Attributes inherited from DPImage | |
| int | m_width |
| int | m_height |
| int | m_depth |
| void * | m_pixels |
| int | m_byteSize |
The Base64DPImage provide functionality on top of the simple DPImage class that is used to encode the buffer in base64 such that it may be stored as string data.
| string Base64DPImage::encode | ( | ) |
Base 64 encode the DPImage.
Note the first character is not the data itself but an unencoded value for itemSize