Update: a lot more Zoomified HiRISE images can be found at marsoweb.nas.nasa.gov. In particular, the following images that used to be here are available there, so I've removed them to save my host's disc space:

The remaining image below doesn't seem to be available (it is advertised as being at this location, but the link doesn't work at the time of writing), and it doesn't take up much space.


Here is a sample HiRISE image of Mars, converted from JPEG 2000 format to Zoomify for ease of browsing.

NOTE: this page is experimental / temporary. It may disappear at any time. Please do not disseminate its location widely (to try to save load on my host!)

Conversion details

It's dead simple, actually, if you have a Windows PC with reasonable horsepower.

First, you need to convert JPEG-2000 images into something that the Zoomifyer can handle:

  1. Download and unzip the Kakadu Windows executables.
  2. For each image to convert:
    1. Download the full-size JP2 from HiROC.
    2. Convert it from .jp2 to .bmp format using Kakadu. From Command Prompt:
      kdu_expand -i PSP_whatever.jp2 -o out.bmp
      (tea break)
    3. Then Zoomify it (see below).

Then you Zoomify the image and put it on the web (this is the only bit you need do for images already in a suitable format, such as BMP or JPEG):

  1. Download and unzip the Windows version of Zoomifyer EZ.
  2. For each image to convert:
    1. Drag out.bmp (or whatever) onto the Zoomifyer icon in Explorer (my version is called Zoomifyer EZ v3.0.exe). This will create a directory "out" in the directory out.bmp is in.
      (tea break)
    2. Hack on the Template.htm supplied with Zoomifyer. At a minimum, you need to adjust both references to zoomifyImagePath to point at the URL where your "out" directory will end up.
    3. Upload the "out" directory, your modified Template.htm (or whatever you called it), and zoomifyViewer.swf to your web host.
      (probably another tea break)

(I used a dual-processor Pentium 4, each ~3GHz, with 1Gbyte RAM. It didn't seem to have any trouble chewing through the data, although it did take over an hour to get through all the processing steps and upload of a ~700Mbyte JP2 file.)

The Zoomify output seems to take up about 50-60% the file space of the original JP2, despite containing redundant information (it's a bunch of JPEG tiles at different scales), which suggests some information has been lost. I understand the HiRISE JP2s to be encoded losslessly, so it could just be that Zoomifyer turns down the quality.


If you enjoyed these images, you might also like to visit the Cassini SAR page.