码迷,mamicode.com
首页 >  
搜索关键字:bitmap    ( 2389个结果
马赛克效果
Color C; int r, g, b, rV, gV, bV, rT, gT, bT, y, z; Bitmap bmp = new Bitmap(pictureBox1.Image);//创建Bitmap对象 Bitmap t...
分类:其他好文   时间:2015-01-22 12:43:45    阅读次数:202
锐化效果
Bitmap bmp = new Bitmap(pictureBox1.Image); //创建Bitmap对象 Bitmap tmp = (Bitmap)bmp.Clone();//创建Bitmap对象 int height = tmp.Height;...
分类:其他好文   时间:2015-01-22 12:36:10    阅读次数:164
柔化效果
Bitmap bmp = new Bitmap(pictureBox1.Image); int Height = bmp.Height; int Width = bmp.Width; Bitmap tmp = (Bitmap)bmp...
分类:其他好文   时间:2015-01-22 12:30:18    阅读次数:230
扭曲效果
///283,191 Bitmap bmp = new Bitmap(pictureBox1.Image);//创建Bitmap对象 using (Graphics g = pictureBox2.CreateGraphics()) ...
分类:其他好文   时间:2015-01-22 10:58:28    阅读次数:174
光照效果
private const float BRIGHTNESS = 220.0F; Graphics g = this.pictureBox2.CreateGraphics(); g.Clear(Color.White); Bitmap bmp = new ...
分类:其他好文   时间:2015-01-22 10:58:21    阅读次数:228
积木效果
int avg, iPixel; Color C, newC; Graphics g = this.CreateGraphics(); Bitmap bmp = new Bitmap(pictureBox1.Image); ...
分类:其他好文   时间:2015-01-22 10:49:06    阅读次数:171
图片浮雕
Bitmap bmp = new Bitmap(pictureBox1.Image);//创建Bitmap对象 for (int i = 0; i < bmp.Width - 1; i++) { for (int j = 0;...
分类:其他好文   时间:2015-01-21 18:03:15    阅读次数:159
使用BMFont
【使用BMFont】参考1说明如何根据ttf字体生成fnt、png。参考2说明如何根据自定义图片生成fnt、png。分三步:1、Edit->Open Image Manager。导入需要的图片。2、Option->Export Option。设置配置选项。3、Option-> Save Bitmap...
分类:其他好文   时间:2015-01-20 23:48:41    阅读次数:222
[数据结构][LINUX内核编程]学习笔记(一)
linux内核使用bitmap相关1,声明一个bitmap数组,可以表示100个bit,数组名字是bitmap[cpp]view plaincopyDECLARE_BITMAP(bitmap,100)相关宏定义如下:[cpp]view plaincopy#defineDECLARE_BITMAP(n...
分类:系统相关   时间:2015-01-20 21:49:58    阅读次数:380
图片缩放/旋转/平移
Bitmap bmp1 = new Bitmap(picOri.Image);//创建图形对象 Bitmap bmp2 = new Bitmap(picOri.Image); using (Graphics g = picThumb.CreateGraph...
分类:其他好文   时间:2015-01-20 17:32:22    阅读次数:126
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!