Crates.io | dzi |
lib.rs | dzi |
version | 0.3.0 |
source | src |
created_at | 2021-12-20 19:20:25.109598 |
updated_at | 2024-09-27 03:14:18.335389 |
description | Rust crate and command line utility for deep zom images (DZI) |
homepage | https://github.com/n-k/dzi |
repository | https://github.com/n-k/dzi |
max_upload_size | |
id | 500806 |
size | 4,253,012 |
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
cargo install --force dzi
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
.
Test image taen from https://unsplash.com/photos/cbEvoHbJnIE Much of the logic is adapted from https://github.com/openzoom/deepzoom.py
2-Clause BSD license. See LICENSE.txt