#image #image-viewer #zoom #deep #tile #command-line-tool #utility

bin+lib dzi

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

7 releases

0.3.0 Sep 27, 2024
0.2.3 Dec 21, 2021
0.1.1 Dec 20, 2021

#269 in Images

Download history 168/week @ 2024-09-23 24/week @ 2024-09-30 8/week @ 2024-10-14 2/week @ 2024-11-18 65/week @ 2024-12-02

67 downloads per month

BSD-2-Clause

4MB
274 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