#image #command-line-tool #deep #utility #tile #descriptor #zom

bin+lib dzi

Rust crate and command line utility for deep zom images (DZI)

6 releases

0.2.3 Dec 21, 2021
0.2.2 Dec 21, 2021
0.1.1 Dec 20, 2021

#13 in #deep

BSD-2-Clause

1.5MB
206 lines

DZI

A library and CLI utility for creating deep zoom images.

Deep-zoom images, or DZIs are a standard first published by Microsoft for storing and viewing very large images while being able to zoom and pan without loading the entire image into the viewer.

See https://openseadragon.github.io/ for a reference implementation.

This crate is based on the excellent python implementation at https://github.com/openzoom/deepzoom.py

Installation

cargo install --force dzi

Usage

dzi path/to/some/image

Example: dzi ./test.jpg will create a directory ./test_files/ with image tiles and a descriptor ./test_files/test.dzi.

Attributions

Test image taen from https://unsplash.com/photos/cbEvoHbJnIE Much of the logic is adapted from https://github.com/openzoom/deepzoom.py

License

2-Clause BSD license. See LICENSE.txt

Dependencies

~14MB
~78K SLoC