在C#中读取和写入图像 [英] read and write image in C#
本文介绍了在C#中读取和写入图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好!我正在C中学习项目处理图像.我想在C#中按像素读取和写入图像.谁能帮助我.非常感谢!
hello!I am learning project processing image in C#.I want read and write image .bmp by pixel in C#.Who can help I.Thanks so much!
推荐答案
可能会有所帮助,
C#中的图像处理实验室 [使用C#进行图像处理 [
Might be helpful,
Image Processing Lab in C#[^]
Image Processing using C#[^]
:)
我最近的解决方案 ^ ].
祝你好运,
-SA
Some more useful links and advice for you from my recent solution Microsoft Office Document Imaging[^].
Good luck,
—SA
使用类Bitmap
,构造函数/Save
方法进行文件读取/写入,使用GetPixel
/SetPixel
进行单个像素访问,LockBits
/Unlock
位用于访问整个像素阵列.
Use the classBitmap
, constructor/Save
method for file read/write,GetPixel
/SetPixel
for individual pixel access,LockBits
/Unlock
bits for accessing the whole array of pixels.
这篇关于在C#中读取和写入图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文