加载保存并使用C#访问32位图像的像素颜色? [英] load save and access pixel color of a 32bit image using c#?
本文介绍了加载保存并使用C#访问32位图像的像素颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
如何加载32位图像(例如openexr格式),更改其像素颜色,然后再次将其保存在32位图像中.它以字节为单位.
谢谢您的回答.
Hi
How can I Load a 32bit image(for example openexr format) , change its pixel colors and then save it in 32bit image again.Is there any class to do it, I got FreeImage but I can not access pixel color in float. it is in byte.
Thank you for your answer.
推荐答案
您可以阅读我的 ^ ]代码项目中的文章,以获取有关如何在C#中访问图像的底层字节的信息.
You can read my image processing[^] articles here on Code Project for information on how to access the underlying bytes of an image in C#.
这篇关于加载保存并使用C#访问32位图像的像素颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文