This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
v2.18.0
dezoomify-rs 2.18.0
This release makes multi-image discovery more reliable and adds efficient, multi-resolution TIFF and IIIF output. It also fixes DZI and krpano sites that previously generated incorrect tile URLs, improves network compatibility and diagnostics, and refreshes dependencies.
Highlights
| Area | What changed |
|---|---|
| TIFF and ZIF | Preserve compatible source pyramids and pass JPEG tiles through without re-encoding |
| IIIF output | Preserve source levels and scale factors instead of rebuilding the pyramid |
| Image discovery | Fix a bug where discovery could fail when an URL would trigger multiple dezoomers |
| Auto-detection | Isolate parser metadata requests and cache repeated responses |
| Compatibility | Bugfixes for krpano and DZI |
| Networking | Use native TLS and expose useful root causes in errors |
Pyramidal TIFF and ZIF Output
- Saving to
.tifor.tiffcan now preserve every compatible zoom level from the source instead of flattening the image to one resolution. Source dimensions and scale factors are retained exactly, including pyramids whose dimensions do not halve evenly. - JPEG tiles are copied directly into TIFF output without decoding and re-encoding when their layout is compatible. This preserves the source JPEG bytes and avoids unnecessary processing.
- Baseline and progressive JPEG tiles are supported, including their original chroma-subsampling layout and correct YCbCr metadata for broad TIFF-reader compatibility.
- Incompatible single-level
.tifand.tiffinputs still fall back to a conventional decoded TIFF. Use--largestwhen a source pyramid cannot be passed through. - The new
.zifextension requests strict ZIF-TIFF passthrough and reports a clear error instead of silently producing a conventional TIFF when the source is incompatible. - Saving to an IIIF directory now preserves compatible source pyramid levels and scale factors directly rather than rebuilding an artificial power-of-two pyramid.
Explicit level options such as
--largest,--zoom-level,--max-width, and--max-heightcontinue to produce one selected resolution.
More Reliable Image Discovery
- IIIF manifests, krpano scenes, and other container formats now keep logical images separate from their zoom levels. Additional images discovered through nested URLs are preserved and can be selected or processed.
- Bulk mode follows nested manifests and downloads every image they reveal, while keeping titles and image counts accurate.
- Automatic format detection now tracks the exact metadata URL requested by each candidate parser. A response is delivered only to parsers waiting for that URL, while parsers requesting different metadata remain active.
- Parsers waiting for the same metadata share one response, and repeated metadata URLs are cached for the duration of the operation. This avoids duplicate downloads and fixes failures where one parser previously consumed another parser's response.
Format Fixes
- DZI: Fixed manifests served from extensionless URLs. Dotted hostnames and dotted parent directories are no longer mistaken for the manifest's file extension, and query strings or fragments no longer leak into generated
_filestile URLs. Fixes compatibility with bayeuxmuseum.com #309. - krpano: Fixed configurations that use explicit
<level>entries with%llevel placeholders. Each level now expands to its correct index instead of repeatedly requesting level zero. This fixes compatibility with pba.lille.fr. #315
Networking and Diagnostics
- HTTPS now uses the platform-native TLS backend and system proxy support, improving compatibility with operating-system certificate stores and managed network environments.
- Network failures now include their underlying cause, such as DNS, certificate, or connection errors, instead of only reporting a generic request failure.
- Runtime and image-processing dependencies have been updated.
Library API
Important
This release removes legacy dezoomer APIs. Applications that only use the command-line executable are not affected.
- Dezoomers now expose one unified
Dezoomer::imagesAPI returningImages, withResolvedImage,ImageUrl, andZoomableImagerepresenting logical images explicitly. - The legacy
zoom_levels,dezoomer_result, and related compatibility types have been removed. Library users implementing custom dezoomers should migrate toDezoomer::images. - Resolving a deferred
ZoomableImagenow returns all discovered images, preserving nested multi-image results and fallback titles.
Full changelog: v2.17.0...v2.18.0