Welcome to MSDN Blogs Sign in | Join | Help

A Deep Zoom Blog

Tales of Deep Zoom, creating interesting apps in Silverlight with Deep Zoom, cool new ways to present information
Seadragon AJAX and Deep Zoom

It's been a while since my last post, but that's because I've been also helping out with the Seadragon AJAX release. You have to check out what we did there. You can now browse single images in web browsers where Silverlight is either not supported or not installed.

Check out Seadragon AJAX in action:

 

The picture above is actually my own bike. I did this as an example of a sparse image, a technology I am saving for a later post. The above image is actually roughy 1 terra pixel in size. Of course it doesn't have that kind of resolution in every spot, in fact it's really only one terra pixel in the spot where the the image gallery spirals off into seemingly infinity.

Now look below at deep zoom:

 

 

So how does this all work, and what's the difference?

If you look at the AJAX version you'll notice a few things. For one, it's much slower (i.e. lower framerate than the deep zoom version). It's not as buttery smooth as deep zoom. The reason for that is the way browser renders images: it's just not that fast. Then, on top of it, there is a ton of blending between the various levels of detail, and all of that has to be done in the browser's DOM. It's not really what the browser was designed to do.

In Silverlight on the other hand, we've had the chance to improve the software rasterizer - the deep zoom rendering not only takes advantage of the ultra fast software rasterizer in Silverlight, we've also been able to speed up the blending significantly by optimizing the blending with direct bitmap manipulation. All of this shows that while AJAX is a great technology for some scenarios, but if you want the last bit of performance, you'll be better off with Silverlight.

Then the next obvious difference is the lack of collections in Seadragon AJAX. For the deep zoom app above I cobbled together all of the images in the Seadragon AJAX gallery and put them into a collection that I posted on Silverlight streaming. So you can see all of the images from the Seadragon AJAX gallery at once in Deep Zoom, and you could move the images independently. BTW - how I built this collection is another whole topic post for another day.

So why did we do Seadragon AJAX? It's quite simple. I've been in a number of meetings where people loved the zooming UIs that Deep Zoom enables, but advertisers usually back off when they hear it requires an ActiveX install. They don't even want to invest in cooler zooming UIs because of that, or they want to wait until Silverlight has a larger deployed base. Well, now there is no reason to wait. You can use Seadragon AJAX as the downlevel version when Silverlight is not installed, then graduate the user to a smoother, richer experience with Silverlight Deep Zoom if it is installed.

And then of course, Seadragon AJAX is so cool, we just had to do it!

 

Posted: Sunday, November 23, 2008 4:19 PM by lutzg
Filed under:

Comments

Aseem said:

One more thing: you'll also see Seadragon Ajax stutter much more than Deep Zoom.

This is because JavaScript doesn't (yet?) have access to multiple threads like Silverlight does, so stuff like image decoding happens on the same thread as the rendering. Worse, browsers also do their own processing, as well as other webpages' processing, on the same thread (except Chrome and somewhat IE8).

All of that will contribute to how high and consistent a framerate you see in Seadragon Ajax, which doesn't affect (or affects minimally) Silverlight.

# November 24, 2008 7:09 PM

Expression Blend and Design said:

Today, we released another update to Deep Zoom Composer, and you can download it from the following location:

# November 24, 2008 8:32 PM

Binaryjam said:

Absolutely fantastic, love deepzoom cos I love photostitching.

Plan to try some HDR photostitches soon will use this to show off!.

# November 25, 2008 4:19 AM

Das Interactive Design & Expression Studio-Blog said:

Die Kollegen in den USA waren fleißig und haben still und leise eine neue Version des Deep Zoom Composers

# December 7, 2008 7:10 AM

o UAU nosso de cada dia said:

eu gosto muito da tecnologia Deep Zoom e vivo usando e publicando tutoriais e divulgando aqui no blog

# December 8, 2008 7:07 AM

Robert Folkesson said:

Igår annonserades, kanske en smula otippat, Seadragon Mobile - den första Microsoft-applikationen som

# December 16, 2008 3:30 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker