如何在Silverlight上显示tiff文件? [英] How do I display tiff files on Silverlight?

查看:52
本文介绍了如何在Silverlight上显示tiff文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Silverlight应用程序上显示tiff文件?我可以显示除tiff以外的任何图像格式,有人可以帮助我吗?谢谢.

How do I display tiff files on a Silverlight application? I can display any image format except tiff, can anyone help me? Thanks.

推荐答案

我已成功在Silverlight中显示TIFF.很容易将免费的 LibTiff.NET 库移植到Silverlight,只需3个需要进行-4小调整.

I was successful displaying TIFFs in Silverlight. It's easy to port the free LibTiff.NET library to Silverlight, just 3-4 minor tweaks required.

该库本身很像旧版库,使用起来很原始,并且仍然需要了解TIFF格式的内部工作原理,以便能够按照需要的方式提取图像数据.

The library itself is quite legacy-like and raw to use and one still needs to have some knowledge about the inner workings of the TIFF format in order to be able to extract the image data the way one needs it.

但是它是可行的,然后可以将这些碎片细分成 WriteableBitmap .

But it's doable and the bits and pieces can then be chiseled into a WriteableBitmap.

这篇关于如何在Silverlight上显示tiff文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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