WPF Image control to progressively load multipage tiff

前端 未结 2 1687
渐次进展
渐次进展 2021-01-19 10:58

I\'m wondering if there\'s an existing control or if it would be straightforward to develop a control allowing a multipage tiff to be progressively loaded over a network? I\

相关标签:
2条回答
  • 2021-01-19 11:18

    I don't think any language has a control for this natively. I would grab a copy of the TIFF specification and write my own solution.

    http://partners.adobe.com/public/developer/tiff/index.html

    You may want to try and adapt existing TIFF viewer controls, however:

    http://www.codeproject.com/KB/miscctrl/Image_Viewer_Control.aspx; http://www.atalasoft.com/cs/forums/thread/11473.aspx

    I can't vouch for the quality of the above code, however.

    0 讨论(0)
  • 2021-01-19 11:25

    I suggest you start using LibTiff or LibTiff.NET. This last one is easy to start with and I have good experiences so far. It will allow you full control over the order of loading. It does depend somewhat on the exact formatting of the tiff you're trying to load. Random access to pages is always possible. Furthermore it will give you good control over memory resource usage.

    The previous advice to start with the specification is imho a recipe for a nightmare. There are so many different interpretations of TIFF (including byte ordering dependent on the machine) that you'll spend a lot of time implementing and testing. The LibTIFF is the reference and it has a very mild license form. Please check my question on StackOverflow here

    0 讨论(0)
提交回复
热议问题