|
| GImageGIF () |
|
virtual | ~GImageGIF () |
|
bool | LoadBufferImage (unsigned char *buffer, UINT dwSize) override |
|
int | LayerCounts () const |
|
int | Delay (int l) const |
|
int | GetCurPos () const |
|
void | AddHost (IGIFHost *host) |
|
| GImage () |
|
virtual | ~GImage () |
|
virtual bool | LoadBufferImage (unsigned char *buffer, UINT dwSize) |
|
UBYTE * | Buffer () const |
|
SIZE | ImageSize (BOOL isPixelFormat=FALSE) const |
|
int | WidthPixel () const |
|
int | HeightPixel () const |
|
void | AttachOtherMemImage (unsigned char *pixel, int w, int h, int stride, PixelFormatType fmt) |
|
void | AllocImage (int w, int h, PixelFormatType fmt, BOOL clear) |
|
PixelFormatType | GetPixelFormat () const |
|
void | GetClientRectInFrames (RECT *rc, BOOL isHroz, int current, int frameCounts) const |
|
void | TransformMatrix (Transform2d *mtx, RECT *rc, double angle, double scale_x, double scale_y) |
|
UBYTE * | RowPtr (int x, int y) |
|
void | GetImageDrawInfoInFrames (ImageDrawInfo *info, BOOL isHroz, int current, int frameCounts) const |
|
void | GetImageDrawInfo (ImageDrawInfo *info) const |
|
void | GetImageDrawInfoInArea (ImageDrawInfo *info, int x, int y, int w, int h) const |
|
int | Stride () const |
|
int | StrideAbs () const |
|
UINT | PixelBitCounts () const |
|
void | HistogramEqualize (GImage *source, int color_chanel, uint8_t *p, int len) |
| 图像均衡化
|
|
void | Destory () |
|
void | CopyForm (const unsigned char *data, int w, int h, int bpp) |
|
void | MakeShaddow (int dx, int dy, int blursize, const GColor &color) |
| 根据透明度。生成阴影格式。必须是具有alpha通道图像
|
|
void | CloneFrom (const GImage *other) |
|
void | ToGray (GrayConv conv_type=GrayDesaturation) |
| 取GrayConv组合值
|
|
void | GetImageChanelIndex (int &ir, int &ig, int &ib, int &ia) |
| 获得图像颜色通道索引
|
|
void | SaveAsImageFile (LPCTSTR file_png_path, LPCTSTR fmt) |
|
void | RemoveBackColor (uint8_t r, uint8_t g, uint8_t b) |
|