My Life As A Blog

Archive for April 2009

MSDN eBook available

with one comment

Eric has posted the lowdown on the MSDN eBook that’s just been made available.  It includes a short article I wrote about the DLR along with another 12 bite size articles that cover everything (well, nearly everything) from IronPython to developing games with XNA.


Written by remark

April 21, 2009 at 6:04 pm

Adding mobility to an ASP. NET MVC site

leave a comment »

I’ve posted a short article about how I added mobile support to the iWantGreatCare Proof of Concept.

Written by remark

April 16, 2009 at 5:35 pm

On the Origin of DeepZoom Mosaics

leave a comment »

The mosaic of Charles Darwin – made from the pages of On the Origin of the Species – intrigued me the first time I saw it and, having shown it to quite a few other people, I know I’m not alone. It was built by Shoothill in collaboration with Shropshire Tourism (UK) Limited and the world renowned Darwin expert Dr. John van Wyhe and was part of Scott Guthrie’s keynote at Remix UK 08. I caught up recently with Rod Plummer, the Managing Director of Shoothill, to find out a bit more about it. I figured there’d be others apart from me interested and Rod was kind enough to agree to me publishing an interview with him:

Let’s start with a brief overview of Shoothill.

Three years ago my business partner and I were inspired to form the company to exploit the exciting opportunities presented by the Microsoft Virtual Earth platform. We secured a few contracts fairly quickly and took the decision to continue to invest in growing the firm. We are now up to 8 staff and are in the process of moving to bigger offices to accommodate our expansion plans for 2009.

Since getting involved with VE development we have been increasingly exposed to other MS Live technologies and one part of Silverlight (Deep Zoom) particularly interested us.

When did you first see DeepZoom?

I first saw Deep Zoom (then codenamed Sea Dragon) in 2006 at a demo given by a Microsoft employee showcasing the entire King James Bible being read aloud. Although the product was still in its early stages then, I was instantly struck by the endless possibilities of this technology.

What do you think is the ideal application of DeepZoom?

The power of being able to view massive images without having to download them to a local desktop and only view those pixels that you need to lends itself naturally to document / image storage and repository retrieval functions. I could also see immense possibilities for Deep Zoom in the fields of advertising, creative marketing and enabling the construction of highly engaging, immersive experiences in order to convey corporate, commercial and public sector messages, and it is within these fields that Shoothill has been most successful.

What DeepZoom work have you done?

We have done a few things in DeepZoom, most notably the Silverlight Mosaic for the 200th anniversary of the birth of Charles Darwin made up of digitized scans of the pages from the first edition of On the Origin of the Species. We recently completed a project for The Sun, (the UK’s most successful tabloid newspaper), during the Christmas of 2008 which certainly got our team in the festive spirit.

You’ve done some interesting mosaic work with DeepZoom. How do you go about creating a mosaic?

Mosaics have been around since the 4th century BC and are basically attempting to do the same thing: – make base images (cells) combine to look like the master image when placed in a pattern. A mosaic in digital imaging is a collection of non-overlapping images, arranged in some tessellation (cell shape). A photo mosaic is a picture made up of various other pictures in which each "pixel" is another picture.

Traditionally large digital / photo mosaics have been virtually impossible to distribute across the web due to the huge file sizes involved and the consequential time lost in attempting to download them. For example, if you were to create a mosaic made up of images of 300 x 400 pixels and you wished to have the mosaic itself made up of say 50 x 50 images, then the resultant file would equate to an image of 12000 x 15000 pixels and around 1GB.

So the first thing to think about is what is your master image that you wish to make into a mosaic. If it is too complicated and ‘busy’ the result will be disappointing (unless you go for a massive image) so try to use a relatively simple image as your master.

The second thing to think about is how big do you need the cell images too be (too big and the mosaic will be huge, too small and the cell images will be of such poor quality that you will not be able to view or read them. However if you reduce the size or quality of either the target subject or the content images to overcome this then the net result is overall poorer quality. The best method is to select a group of cell images and then use some batch software to get them down to approx 300² pixels before you begin to build the mosaic.

Let’s talk stats. How big is the DeepZoom Darwin image? If I were to create a physical version of it, how big would it be?

The actual size of the Darwin image is actually 860MB and should you wish to print it out it would take 381cm x 508cm of paper and that equals around 1500 pieces of A4 paper!

As I said earlier the size of the image is the crucial element of building Silverlight mosaics and we have compiled images of nearly 5 GB and far bigger than the Darwin image. This is naturally processor intensive and painstaking work. The real challenge and skill in compiling mosaics is maintaining image integrity and quality whilst compressing them to a manageable size. Silverlight adds a great deal of value when bringing them all together.

Any advice for someone about to pick up DeepZoom for the first time?

Think before you start, about who the intended audience is and what are you trying to achieve and what is the end result your are looking for (i.e. in the case of a mosaic do you want the finished mosaic to remain true to the original master or are you happy to lose some of this quality in order to gain better cell images?).

Next, try and be original and come up with something that is intriguing to the eye (for example to help the user understand the Darwin image a little better we offset the pages of the book (very slightly) so that the end user would see straight away that there was more to the image and it was worth zooming into it further

Finally I would also say that although Deep Zoom is fantastically versatile and incredibly powerful it does have certain limitations as to file size (both in total number of pixels per image and actual / physical file size) and so you need to get to a happy balance between all three of the variables (i.e. Master image, cell image size and Deep Zoom limits).

Naturally we are more than willing to help on projects, too. If you have a Deep Zoom project that you need help on please email us at

Written by remark

April 6, 2009 at 10:48 am