Skip to content

About

Python Deep Zoom Tools

Resources

Stars

188 stars

Watchers

7 watching

Forks

Repository files navigation

deepzoom.py: Python Deep Zoom Tools

Installation

git clone https://github.com/openzoom/deepzoom.py.git
cd deepzoom.py
python setup.py install

Development

Install for local development:

python3 -m pip install -e .

Run tests:

python3 -m pip install -e '.[test]'
python3 -m pytest

Example

cd examples/helloworld/

# Single image (DZI)
./helloworld-dzi.py

# Collection (DZC)
./helloworld-dzc.py

The command line interface (python deepzoom/__init__.py image.tif) lifts Pillow’s decompression bomb limit so it can convert very large images. The library keeps the limit; to process large trusted images, set PIL.Image.MAX_IMAGE_PIXELS = None yourself.

Acknowledgements

Initially developed by Kapil Thangavelu. Powered by OpenZoom.

License

Licensed under the New BSD Licence.

About

Python Deep Zoom Tools

Resources

Stars

188 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ Proxy