将 WriteableBitmap 保存为 PNG [英] Saving WriteableBitmap to PNG

查看:51
本文介绍了将 WriteableBitmap 保存为 PNG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将 WriteableBitmap 保存为具有透明背景的 PNG.PNG 和 PNG with Transparency 有区别吗?感谢你的帮助.请给我看示例代码.谢谢

How to save WriteableBitmap into PNG with Transparent background. Is there a different between PNG and PNG with Transparency? appreciate your help. Please show me the sample code. Thanks

推荐答案

只需浏览以下链接即可.或许可以帮到你.

Just go through the following links. May that could help you out.

使用 WPF 将 WriteableBitmap 保存到文件

在 WP7 上将位图另存为 PNG

http://www.codeproject.com/Questions/272722/Converting-WriteableBitmap-to-a-Bitmap-for-Saving

):

这篇关于将 WriteableBitmap 保存为 PNG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆