#ifndef __IMAGE_24__ #define __IMAGE_24__ #include "palette.hpp" #include "macs.hpp" #include "filter.hpp" class image24 { int w,h; unsigned char *data; public : int width() { return w; } int height() { return h; } image24(unsigned short width, unsigned short height, unsigned char *buffer=NULL); void pixel(short x, short y, unsigned char &r, unsigned char &g, unsigned char &b) { CHECK(x>=0 && y>=0 && x=0 && y>=0 && x