Go to the source code of this file.
Namespaces | |
namespace | PN |
namespace | PN::ImageTool |
PN::ImageTool provides many utility methods for image handling. | |
Functions | |
unsigned short | PN::ImageTool::blendPixel16 (unsigned short nSrc, unsigned short nDst, int nOpacity) |
Blends a single pixel in 16-bits RGB565 format. | |
void | PN::ImageTool::convertPixel16To24 (unsigned short nPixel, unsigned char &nRed, unsigned char &nGreen, unsigned char &nBlue) |
Converts a single pixel from 16-bits (565) RGB to 24-bits RGB. | |
unsigned short | PN::ImageTool::convertPixel24To16 (int nRed, int nGreen, int nBlue) |
Converts a single pixel from 24-bits RGB to 16-bits (565) RGB. | |
void | PN::ImageTool::flipImageY (unsigned char *nDstBuffer, unsigned const char *nSrcBuffer, int nWidth, int nHeight, int nPixelSize) |
Flips an image in Y-direction. | |
bool | PN::ImageTool::saveAsTGA (Image *nImage, const char *nFileName) |
Save an Image into a TGA file. |
Definition in file ImageTool.h.