调整WritableBitmap [英] Resizing 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屋!