






















使用Bitmap构造完成一个新的image对象,大小为xsize,ysize
[C#]
Bitmap myImage = new Bitmap(<xsize>,<ysize>);
下面这个方法创建一个默认颜色深度的Images对象,也可以使用像素格式化的参数构造
Pixel Formats valid for the creation of a bitmap image are:
Format16bppArgb1555
Format16bppGrayScale
Format16bppRgb555
Format16bppRgb565
Format1bppIndexed
Format24bppRgb
Format32bppArgb
Format32bppPArgb
Format32bppRgb
Format48bppRgb
Format4bppIndexed
Format64bppArgb
Format64bppPArgb
Format8bppIndexed
Images 可以从磁盘装在标准格式的位图文件(JPEG, GIF, TIFF or windows Bitmap)
可以使用方法 Image.FromFile 装载指定的 Image 文件
[待续...]
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。