FreeRDP-WebConnect WebSockets gateway
1.0.0.167
|
This class implements a simple PNG generator for generating in-memory cursor images. More...
#include <Png.hpp>
Public Member Functions | |
std::string | GenerateFromARGB (int width, int height, uint8_t *data) |
Generates a cursor image. |
This class implements a simple PNG generator for generating in-memory cursor images.
std::string wsgate::Png::GenerateFromARGB | ( | int | width, |
int | height, | ||
uint8_t * | data | ||
) |
Generates a cursor image.
width | The width of the image in pixels. |
height | The width of the image in pixels. |
data | An array of bytes, defining the image data in ARGB format. |