git clone https://github.com/openzoom/deepzoom.py.git
cd deepzoom.py
python setup.py installInstall for local development:
python3 -m pip install -e .
Run tests:
python3 -m pip install -e '.[test]'
python3 -m pytest
cd examples/helloworld/
# Single image (DZI)
./helloworld-dzi.py
# Collection (DZC)
./helloworld-dzc.pyThe 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.
Initially developed by Kapil Thangavelu. Powered by OpenZoom.
Licensed under the New BSD Licence.