SwImgBuffer
From SWWorkshop
This api for detail image operations on TGA, BMP, PNG, JPEG , GIF image formats.
typedef enum _swImgType{ SW_IMGTYPE_TGA, }swImgType;
void swImgBufferLoad(char *path, swImgType imgType); void swImgBufferLoadTGA(char *path); void swImgBufferFree(); int swImgBufferGetWidth(); int swImgBufferGetHeight(); void swImgBufferGetPixel(int x,int y,swColor *color);
