unzoomify

What is it?

Zoomify is a tool for making large images easy to view in [relatively] small windows and over low bandwidth connections by splitting them up into smaller tiles. You can find out more at their web site. There's also the ZoomifyImage project on SourceForge which provides a command line interface and PHP wrapper to Zoomify functionality.

Unzoomify is a really simple tool to reverse the process; you just point it at a directories of zoomified tiles and it reconstructs them back into a whole.

Download

Use the link below to download unzoomify - this will give you the single .php file you need. Just save that wherever you want it on your computer.

Download unzoomify

How do I use it?

Note: unzoomify is a command line tool intended for linux/BSD machines. It might work on Windows, it might not, maybe try it and see.

Download and save unzoomify.php somewhere on your PC, and run it with a command like the below:

php unzoomify.php /path/to/images/ zoomlevel

/path/to/images is the base location for your images. For example, if your actual tile images are in /files/MyImage/TileGroup0/* then you should specify '/files/MyImage/'.

'zoomlevel' is the tile zoom level for the image you want to reconstruct, just give the number like '3' or '4'.

Using the paths above, here's an example:

php unzoomify.php /files/MyImage/ 4

After running, unzoomify will save a single .jpg image into the current working directory, with the same name as the main image you're recreating ('MyImage.jpg' in the examples above).

FAQs

Why doesn't it do X?

Because its a quick and handy little tool and I haven't written X yet. If you ask nicely I'll take a look, otherwise feel free to edit the script yourself.

Why is it written in PHP?

I know PHP, and it has built in support for manipulating images. Thats it really.