Skip to main content

Recover an image from the tiles (deep zoom format) generated from this image.

Project description


Franck Barbenoire <>

Software version

Version 0.0.2, June 18th, 2014.


This software is released under GPL v3 license :


This module is intended for recovering an image from the tiles generated from this image.

This program is based on this article from Daniel Gasienica :

API description

Properties :

  • maximum_level : get the maximum level of the image tree

Methods :

  • Roofer(xml_url, dir_suffix=’_files’, mode=’RGB’) : constructor
  • image_size(level) : get the size of the final image for a given level
  • get_level_size(level) : returns a tuple (width, height, columns, rows) for a level
  • get_tile_image(level, column, row) : returns a tile image from a level at given coordinates (row, column)
  • get_level_image(level) : builds and returns the whole image corresponding to a level
  • get_level_image_t(level, tasks=2) : same as get_level_image but using threads (experimental)

Required packages

  • Pillow is required

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for roofer, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size roofer-0.0.2.tar.gz (15.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page