Skip to main content

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

Project description

Author

Franck Barbenoire <contact@franck-barbenoire.fr>

Software version

Version 0.0.2, June 18th, 2014.

License

This software is released under GPL v3 license :

http://www.gnu.org/licenses/gpl-3.0.html

Introduction

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 :

http://www.gasi.ch/blog/inside-deep-zoom-2/

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.

Source Distribution

roofer-0.0.2.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file roofer-0.0.2.tar.gz.

File metadata

  • Download URL: roofer-0.0.2.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for roofer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 37c8f700263a3969c3dc7dec846bddac68a6a0ff2fa8d846f0f9fe9bc3061e97
MD5 935c54e8670cc7f2b66ff87240e3b25f
BLAKE2b-256 b1bdc618fd9383e022f8d12da99670192c2ce22a7df5d4a30643e148e3494f09

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page