[wxWidgets]_[初级]_[使用调色版对图片进行调色]
static unsigned char *red = NULL;
static unsigned char *green = NULL;
static unsigned char *blue = NULL;
wxImage ImagePaletteHandler(wxImage& image)
{
if(!red)
{
//1.暂时不释放,有内存泄露.
red = new
原创
2014-10-22 19:32:52 ·
918 阅读 ·
0 评论