1#ifndef __SDIBHELPER__H__
2#define __SDIBHELPER__H__
4#include "interface/SRender-i.h"
29 static bool Colorize(COLORREF &crTarget, COLORREF crRef);
static bool GrayImage(IBitmapS *pBmp)
将位图转换为灰度图像
static bool Colorize(IBitmapS *pBmp, COLORREF crRef)
对位图进行着色处理
static COLORREF CalcAvarageColor(IBitmapS *pBmp, int nPercent=90, int nBlockSize=5)
计算图片的平均颜色