I actually use my own code to produce the images(tiles)at different layers of the pyramid (ones which are otherwise produced by deepzoom composer).I want to know if it is possible to load them in silverlight? usually on the net I have seen images exported out of deep zoom composer for this and hence the question.
Displaying own gigapixel images in DeepZoom using silverlight
1k views Asked by Manish At
1
There are 1 answers
Related Questions in SILVERLIGHT
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
Related Questions in IMAGE-PROCESSING
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
Related Questions in IMAGING
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
Related Questions in DEEPZOOM
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
For a single large image its reasonably easy if you already have the pyramid set of tile images for the image.
The Xml
Create yourself a sub-folder (under ClientBin usually) to contain your set of large images (lets just call it "Content" for this example). Create in this folder an Xml file to describe your deepzoom image, for this example "MyLargeImage1.xml". Use this following Xml:-
Note the
TileSize
attribute indicates the side length of the tiles that you have used. Hence if you have used a different tile size in creating your pyramid then you should adjust this value. Note alsoOverlap
, this indicates by how many pixels each tile may overlap, if you haven't used any overlap in your tiling set this value of 0.Specify the actual pixel dimensions of your image in the
Size
element.The Image Files
Now in the same folder as this Xml file create a folder with the same title but with the suffix "_files". In this case a folder called "MyLargeImage1_files". Its in this folder that we have a series of sub folders representing the pyramid layers.
In the case of a Gigapixel image (such as with the dimensions I have used above) you would have 17 folders, named from "0" to "16". Since you would need to down to level 16 to view such an image at its native resolution.
Each of these folders you would contain the set of tiles that make up this layer in the pyramid. These are .jpg files with a file title of the form "x_y" where x and y are the tiles ordinal position in the x and y axis, where 0_0 is the top left tile.
In this example all folders upto and including "8" would contain a single 0_0.jpg file since its only above level 8 would we find images larger than the 256 limit for a single tile that is specified in the Xml. Of course if you have used a different tile size then this will differ for you.
By level "16" you would expect to have all files from 0_0.jpg to 156_117.jpg (18526 files is a lot of files for single folder).
The Xaml
Finally to actually display the image you use the
MultiScaleImage
control and point its source property at the xml file:-