WP7 支持 TIFF 图像
我正在尝试显示我有字节数组的 Tiff 图像。我得出的结论是,WP7 不支持 TIFF 图像,因为按照我对 PNG 和 JPG 所做的方式设置流不起作用(引发异常,例如:“网络资源无效”)。
有没有人看到任何证据表明 TIFF 不受 Microsoft 书面支持?我需要向客户提供可靠的信息。
I'm trying to display Tiff Images that I have a byte array for. I have come to the conclusion that WP7 does not support images which are TIFF, because setting the stream in the way I have done for PNG and JPG does not work (Throws an exception like: "Network resource is invalid
").
Has anyone seen any evidence that TIFF is not supported in writing from Microsoft? I need to provide solid information to a client.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
基于 Web 的 Silverlight 或 WP7 都不支持 TIFF 图像。然而,有一个其他人喜欢的相对容易移植到 Silverlight 的 .NET 库:
如何在 Silverlight 上显示 tiff 文件?
Neither the web-based Silverlight, or WP7 support TIFF images. However, there is a .NET library that others have fond relatively easy to port to Silverlight:
How do I display tiff files on Silverlight?
在互操作性桥梁文章中,您可以找到以下引用:
您可以在本文iPhone 和 WP7 图像分辨率的差异部分的其他问题下找到此问题:http://windowsphone.interoperabilitybridges.com/articles/chapter- 5-image-format-considerations-in-migration-of-iphone-applications-to-windows-phone-7
如果这还不够官方,您还可以找到以下引用:
来自 AppHub 中关于在 WP7 中使用图像的文章:http://create.msdn.com/en-US/education/quickstarts/Images
In the Interoperability Bridges articles you can find this quote:
You can find this under Other Issues in the Differences in iPhone and WP7 Image Resolutions section in this article: http://windowsphone.interoperabilitybridges.com/articles/chapter-5-image-format-considerations-in-migration-of-iphone-applications-to-windows-phone-7
If that isn't official enough you can also find this quote:
From the AppHub in their article about using images in WP7: http://create.msdn.com/en-US/education/quickstarts/Images