Silverlight Deep Zoom 服务器控制?
Silverlight Deep Zoom 是我几年前推出时听说过的很酷的东西之一,但我从未抽出时间实际尝试一下。但现在是时候了,我很惊讶地发现让这个东西正常工作显然是多么复杂,我担心我在这里遗漏了一些东西。
据我了解,使用 Silverlight Deep Zoom 需要您
- 编写一个 Silverlight 应用程序来嵌入您的网站,这在没有 Silverlight 经验的情况下并不完全是微不足道的,因为您必须自己实现各种操作(缩放、平移)并包括按钮图标。
- “手动”创建 Deep Zoom 金字塔文件。
我找到了很多关于如何做到这两点的示例,但这与在页面上粘贴控件、设置原始图像源以及高度和宽度相去甚远,老实说,这就是我认为所需的全部。
所以:在我继续实现我自己的组件之前,
- 您知道有任何组件(免费或商业)可以很好地封装上述内容吗?
- 您知道 Silverlight Deep Zoom 的替代品吗? JavaScript? HTML5?
- 我有一种感觉,今天的技术被认为有点过时了?
The Silverlight Deep Zoom was one of those cool things that I heard about when it was introduced a few years ago, but I never got around to actually trying it out. But now is the time, and I was so surprised to learn how complicated it apparently is to get the thing working, that I’m worried that I’m missing something here.
As far as I understand, using Silverlight Deep Zoom requires you to
- Write an Silverlight app to embed on your site, which is not exactly trivial with no prior Silverlight experience, as you have to implement the various actions (zoom, pan) yourself and include button icons.
- Create the Deep Zoom pyramid files “manually”.
I found plenty of examples on how to do both, but it’s a far cry from sticking a control on your page, set the original image source and height and width, which honestly was all I figured it would require.
So: Before I go ahead and implement my own,
- Do you know any component (free or commercial) that wraps the above in a nice way?
- Do you know any alternatives to Silverlight Deep Zoom? JavaScript? HTML5?
- I got this feeling that the technology is considered somewhat outdated today?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
相当多的要点,将尝试涵盖所有内容:
是(因此名称为 Silverlight :))
是不是很困难...不是真的。它只是将文件复制到服务器上的正确位置。
此示例托管在一个简单的 WordPress 博客下,花了 10 分钟来构建
否您可以使用免费的DeepZoom Composer 开箱即用的输出。您只需创建自己的金字塔以实现更高级的动态生成。
否(使用DeepZoom 作曲家)
因此,回答您的最后一点:
以一种好的方式?
不需要。这并不像您想象的那么困难。
HTML5?
还没有,尽管我确信将会发明一些东西
今天过时了吗?
我的书中没有,但我不知道你从哪里获得信息。
Quite a few points, will try to cover them all:
Yes (hence Silverlight in the name :))
Is that difficult... not really. It is just files copied to the right place on a server.
This example is hosted under a simple WordPress blog and took 10 mins to build
No You can use the free DeepZoom Composer output out-of-the-box. You only create your own pyramids for more advanced on-the-fly generation.
No (use the DeepZoom composer)
So in answer to your last points:
in a nice way?
No need. It is not as difficult as you imagine.
HTML5?
None yet although I am sure something will be invented
outdated today?
Not in my books, but I don't know where you get your information.