且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

读取PNG图像文件的.Net 2.0

更新时间:2023-02-13 23:38:57

位图一>从System.Drawing.dll程序组件类:

Bitmap class from System.Drawing.dll assembly:

Bitmap bitmap = new Bitmap(@"C:\image.png");
Color clr = bitmap.GetPixel(0, 0);