简体   繁体   English

在Windows 8 App C#中将位图保存到BMP图像

[英]Save bitmap to BMP image in windows 8 app c#

I need help turning a bitmap image into a .BMP file in an windows 8 app. 我需要在Windows 8应用程序中将位图图像转换为.BMP文件的帮助。 I have looked around the internet with no good results on how to accomplish this. 我环顾了互联网,但如何实现这一目标却没有很好的结果。

Any help will be appreciated. 任何帮助将不胜感激。

Thanks 谢谢

Didn't heard that there a solution for .BMP format. 听说没有.BMP格式的解决方案。 BMP is really easy in saving by hand, you can do it by self. BMP真的很容易手工保存,您可以自己完成。 Only two easy headers and array of bytes. 只有两个简单的标头和字节数组。 This library can help you to accomplish that task: WriteableBitmapEx . 该库可以帮助您完成该任务: WriteableBitmapEx There are functions to save TGA and uncompressed PNG. 有保存TGA和未压缩的PNG的功能。 Use them to build the BMP saver. 使用它们来构建BMP保护程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM