00001
00012 #ifndef __FloydSteinbergDither_H__
00013 #define __FloydSteinbergDither_H__
00014
00015
00016
00017
00018
00019
00020 class FloydSteinbergDither
00021 {
00022 public:
00026 static void DitherImage(
00027 unsigned int* imageData,
00028 int imageWidth,
00029 int imageHeight,
00030 unsigned int* palette,
00031 int paletteCount,
00032 unsigned char* outputData
00033 );
00034
00035 static void DitherImage(
00036 unsigned int* imageData,
00037 int imageWidth,
00038 int imageHeight,
00039 unsigned short* outputData
00040 );
00041 };
00042
00043 #endif