Namespaces | Functions
ImageTool.h File Reference
#include "PocketKnife.h"
#include "Image.h"
Include dependency graph for ImageTool.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

Author:
Daniel Wagner
Id:
ImageTool.h 44 2006-01-03 18:48:43Z daniel

Definition in file ImageTool.h.



tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun May 29 2016 02:50:12