调用bmbk.SetPixel(j, i, Color.White);以后An unhandled exception of type 'System.Exception' occurred in system.drawing.dllAdditional information: SetPixel is not supported for images with indexed pixel
formats.indexed型的bmp图像怎么设置单个象素的值
formats.indexed型的bmp图像怎么设置单个象素的值
解决方案 »
- this用到method参数里面是什么意思?
- 超简单问题请各位老师闲暇之余指点一下
- 关于用SqlConnection与oledbConnection返回DataReader的问题
- C# 将循环多图clone部分图合成一张图 clone时内存不足
- TreeView 如何滚动到最前面?
- 世纪难题!!!万分送人
- 请问如何替换vs.net2003中的系统自动生成的InitializeComponent()?
- 想问问C#和C++谁的功能强大些,有没有C++可以办到的事,而C#不能做的
- C# Windows Service读取配置文件的问题
- 请问怎样才能利用C#自动从Windows2000的机器上获取机器内已装的ODBC数据源的内容?
- 没装.net,在别人机器已编译好的exe是不是在我的机器无法运行
- 在webform中可否执行本机的exe文件?
bmbk.SetPixel...
bmbk = bmbk.Clone(cloneRect, PixelFormat.Gdi);
这样写以后Out of memory
使用其他的PixelFormat后debug发现bmbk的PixelFormat属性并没有改变啊