Click here to Skip to main content
13,351,731 members (67,111 online)
Click here to Skip to main content
Add your own
alternative version


4 bookmarked
Posted 24 Jul 2012

Deepzoom in Windows 8 using WinJS

, 24 Jul 2012
Rate this:
Please Sign up or sign in to vote.
This gives you a modified version of Seadragon to run in Windows 8 Metro UI.


This code provides the capability to give a Deepzoom interface within a Microsoft Windows 8 Metro application. Provided within the package is a modified version of Seadragon, that works with WinJS.

Using the code

This is a modified version of Seadragon so please go through the Seadragon documentation for full assistance. There is one minor change with the WinJS version. Please do not try and load the dzi file dynamically. Instead please load the contents of the file as shown below.

var viewer = new Seadragon.Viewer(containersId);
viewer.openDzi("wmp", '<?xml version="1.0" encoding="utf-8"?><Image TileSize="256" ' + 
   'Overlap="1" Format="jpg"  xmlns="' + 
   'deepzoom/2008"><Size Width="11527" Height="6505" /></Image>');

Points of Interest

This is a weekend project and comes with no warranty or guarantee. Please let me know if there are any issues, we can work something out.


This article, along with any associated source code and files, is licensed under The MIT License


About the Author

Software Developer Microsoft India R&D Pvt Ltd
India India
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
Christian Amado30-Jul-12 3:27
memberChristian Amado30-Jul-12 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180111.1 | Last Updated 24 Jul 2012
Article Copyright 2012 by aadharshkannan
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid