IE8 Beta2 is live and available for the download!
Check it out here: http://www.microsoft.com/windows/internet-explorer/beta/default.aspx
Well done to the IE Team!!
Thanks to those of you that submitted a vote for me in the ComputerWeekly competition!
I’m really pleased (and somehow surprised) to be the runner-up in the Programming and Technical Blogs category (first place went to the amazing Mike Taulty’s Blog).
It’s interesting to highlight the effort of other (great ) Microsoft bloggers, awarded in several categories:
Well done to my colleagues
Please don’t stop sending feedbacks/comments: I really appreciate them…and they help me to drive this thing better
C ya in the next post!
In a previous post I’ve showed how to automate the exporting process of a DeepZoom composition or collection. Meanwhile the Microsoft DeepZoom Composer tool has been updated (and new features have been added too!), breaking my previous sample.
Given the positive feedbacks I received from the previous post, I’ve decided to do some refactoring and updates to the previous solution. The current implementation include:
You can download the updated library and source code here.
The new class diagram is like so:
Given a directory containing all the images and a name for the collection, it’s now really easy to create programmatically a collection.
1: static void CreateCollection(string collectionName, string sourceImagesFolder, string outputFolder)
3: // Create a collection converter
4: CollectionConverter collectionConverter = new CollectionConverter();
5: // Required parameters
6: collectionConverter.SparseImageToolPath = GetSparseImageToolPath();
7: collectionConverter.ImagesCollection = GetImages(sourceImagesFolder); // IEnumerable<string> containing the path of the images
8: collectionConverter.ImagesDestinationFolder = outputFolder;
9: // Optional parameters
10: collectionConverter.CollectionName = collectionName;
11: collectionConverter.CollectionFormat = CollectionConverter.CollectionFormats.XML;
12: //collectionConverter.ConvertedOverlapPixels = ...
13: //collectionConverter.ConvertedTileSize = ...
14: //TODO: You can customize the exporting experience here, by setting the according parameters such as:
15: // Tile Size, File Format, Collection Format, Compression, Quality, ...
17: // Attach to completion handler
18: collectionConverter.BatchCompleted += delegate
20: Console.WriteLine("Conversion completed\nPRESS <ENTER> TO EXIT");
27: catch (Exception e)
32: Console.WriteLine("Conversion started...");