调整WritableBitmap [英] Resizing WritableBitmap

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

问题描述

我已经创造了Gray16格式的WriteableBitmap的。我想这个WriteableBitmap的调整对我渔政称为保留像素格式(Gray16)。

I have created a WriteableBitmap in Gray16 format. I want to resize this WriteableBitmap to my known dimention preserving the pixel format(Gray16).

时的大小调整的WriteableBitmap的任何一个工作。请帮帮我。

Is any one worked on the Resizing the WriteableBitmap. Please help me.

我在网上搜索,发现的http:// writeablebitmapex。 codeplex.com/ 但这种通过assebmly引用错误。

I also searched the internet and found http://writeablebitmapex.codeplex.com/ but this through an assebmly reference error.

请帮助我。

推荐答案

我写这些调整其大小writableBitmap的功能。我已经发布的代码在我的博客:

I have written the function which resizes the writableBitmap. I have posted the code at my blog:

http://harshaprojects.wordpress.com/2010/08/30/resize-writable-bitmap-in-wpf/

希望这会有所帮助。

感谢您,

这篇关于调整WritableBitmap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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