Microsoft Deep Zoom is yet another impressive web app based technology piggybacking on the recently released Silverlight 3 which allows users to pan around and zoom in a large, high resolution image or a large collection of images. Anyone who have checked out sites like the Hard Rock Memorabilia would surely be impressed with the way their collections have been organized. Not convinced? Just have a look at the video demo on the Hard Rock Memorabilia below:
Creating applications like what you saw above ain’t hard and the possibilities of what you can do is great. Some of the applications possible would be virtual newspapers, virtual mind maps and virtual picture galleries which are zoomable to several levels according to your liking. To create, you only require a simple drag n drop tool called the Deep Zoom Composer and some creativity to come up with your Deep Zoom app. By following this guide, you will be able to create your deep zoom applications in no time!
Step 1: Download the Deep Zoom Composer
Click here to get the latest version of the Deep Zoom Composer from Microsoft.
Step 2: Create a New Project and Add your Images
To start composing a Deep Zoom application, click on the ‘New Project‘ button. Right after that, the first step that you will need to perform is to import the pictures that you want into the project first by clicking on the ‘Add Image‘ button. In this sample, I will try to embed multiple playing card pictures into a single card. Try to keep the color tone of the images in the number to be as close as the larger picture so that it looks more natural.
Step 3: Composing your Deep Zoom App
Once you have added your images (you can always go back and add more if you want to), click on the ‘Compose’ button at the top center of the program to start composing your Deep Zoom application. To do so, just drag the images from the bottom of the composer into the workspace and compose the application in any way that you desire. The best practice is to of course get images of higher resolution to be used as it will provide a more clearer viewing experience. To move around your image, make use of the navigator located on the bottom left of your workspace, highlighted in red below.
Step 4: Finalize and Export your Project
The final step should not be an issue too. What you should see once you click on the ‘Export’ button would be a preview of your entire project that you have composed earlier. If you are not happy and would like to apply certain changes, just go back to the previous step by clicking on the ‘Compose’ button at the top center of the composer.
If you are happy with it however, you may choose to either export your application to the Internet through your DeepZoomPix account which you must register first OR by clicking on the Custom tab to export the project to your local computer. In this case, I will be exporting the project to my own PC so that I can view it locally.
For exporting, you may choose to export into a ‘Silverlight Deep Zoom’ application or a ‘Seadragon AJAX’ application. In this case, choose Silverlight Deep Zoom if you would like your Deep Zoom application to be viewed through the Silverlight plug in or Seadragon AJAX if you do not want your application to be viewed by the Silverlight plugin. Do take note that Seadragon AJAX’s performance may not be as good or satisfactory as Silverlight even though it is viewable without the Silverlight plugin.
You can also choose the quality and the type of the images being exported in your project too to scale the loading time of your application. Once you are done, press ‘Export’. All steps are listed down below
After completing the previous step, you should get a dialog box telling you that your export have been completed. In this case, select ‘Preview in Browser’ to view your Silverlight Deep Zoom application in your browser.
Step 5: Mission Accomplished
If your preview works well, you may now publish your Silverlight application into your IIS server. Just copy the exported folder into IIS and everything should work as what you have seen in your preview.
Hint: Do check out the toolbar at the top of your Deep Zoom app as it has many functions, most notibly zooming to highlighted areas/images in your project.
That’s it for today’s tutorial. Come back to my blog for more on Silverlight and ASP.NET application development!