WPF:TIFF图像JPEG COM pression? [英] WPF: TIFF images with JPEG compression?

查看:259
本文介绍了WPF:TIFF图像JPEG COM pression?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个大的数字,我需要(.NET 3.5 SP1和专门使用C#)在WPF程序中使用TIFF图像。的TIFF文件的一半包含使用JPEG COM pression彩色图像连接codeD,他们不与WPF工作。在Microsoft Office Document Imaging中应用程序处理文件的罚款。由于Windows本身并不真正喜欢他们要么(不能产生缩略图比如)我假设这是标准的Windows映像组件(WIC)库的限制。

I have a large number of TIFF images that I’d need to use in a WPF program (.NET 3.5 SP1 specifically and using C#). Half of the TIFF files contain color images encoded using JPEG compression and they don’t work with WPF. The "Microsoft Office Document Imaging" application handles the files fine. As Windows itself doesn’t really like them either (can’t produce thumbnails for instance) I’m assuming this is a restriction in the standard Windows Imaging Components (WIC) libraries.

有没有人对如何正确读取使用JPEG COM pression与标准的.NET / WPF库?

Does anyone have any ideas on how to correctly read the TIFF images that are using JPEG compression with the standard .NET/WPF libraries?

还是没有人知道任何替代第三方TIFF $ C $本社WIC,我也许可以用它来解决这个问题?

Or does anyone know of any alternate third party TIFF codecs for WIC that I might be able to use to work around this issue?

终于还是有什么替代的.NET库TIFF文件,这些文件仍然很容易使用的与WPF?

Or finally are there any alternate .NET libraries for TIFF files that are still easily usable with WPF?

谢谢!

推荐答案

您将需要升级到Windows 7时,在Windows Server 2008(或更新版本)以本地打开这些文件。

You will need to upgrade to either Windows 7, Windows Server 2008 (or newer) in order to open these files natively.

的libtiff(C ++)和LibTIFF.NET(.NET)应该能够打开这些文件。请确保当你建立这些库之一,该TIFF_JPEG(包括6和7)在构建启用。这些格式是默认的内部设置中禁用。

Libtiff (C++) and LibTIFF.NET (.Net) should be able to open these files. Please make sure that when you build one of these libraries, that the TIFF_JPEG (both 6 and 7) are enabled in the build. Those formats are disabled in the default build settings.

这篇关于WPF:TIFF图像JPEG COM pression?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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