Repository navigation
Releases
v2.20.0
New supported image formats
dezoomify-rs can now open images directly from more museum, library, archive, and map viewers:
- XLimage image servers (
*.imgf/*.imgimetadata URLs) - Picturae Memorix (TopViewer) metadata, thumbnail URLs, and media API URLs
- Neptune Labs FSI Server images, including pages that embed an FSI server
- LizardTech ImageServer, Visual Library Server, and Hungaricana image services
- Web Map Tile Service (WMTS) capabilities documents, cached ArcGIS MapServer imagery, and
basemapUrlviewer links - pnav crop-based image services
Removals
- The NYPL dezoomer has been removed: NYPL no longer serves tile metadata, so it could never succeed.
- Special cases for pages that no longer exist or that no live site uses were removed: KBR multi-page XLimage viewers, three dead Zoomify sites (biblio.unibe.ch, bspe-p-pub.paris.fr, artandarchitecture.org.uk), the Fluid Engage XMLBroker, Flash-era
zoomifyImagePathembeds, iframe following, and a few smaller unreachable variants. These had only ever been exercised by synthetic test fixtures.
Every URL pattern that remains is covered by a live test against a current website, so discovery no longer carries unreachable code.
Improvements
- Automatic discovery now follows redirects, viewer pages, and related metadata instead of requiring a direct tile URL.
- IIIF URLs with proxies, query parameters, and nested image paths now produce usable tile URLs.
- Images from the new formats get readable names derived from page titles and metadata.
- Tile cache entries now distinguish client headers and decryption, avoiding wrong-cache hits.
- Failed downloads no longer leave misleading output files behind.
v2.19.0
This release reorganizes the code behind dezoomify-rs without changing the basic way you use the command-line tool.
The practical changes are:
- Zoom levels are listed consistently from smallest to largest, with clearer labels and more accurate dimensions.
- Discovered image titles are kept when files are saved, so output names are less likely to fall back to generic names.
- Custom request headers now take precedence as expected, and connection timeouts are applied correctly.
- The retired PFF servlet format was removed because it no longer has a verifiable live deployment.
The release includes updated Linux, macOS, and Windows downloads. No new image format was added in this release.
PR #336 optimized test builds (ac6b428)
Optimized test executables for PR #336, built with cargo build --release --locked from commit ac6b428.
- Linux: x86-64 GNU/Linux
- Windows: x86-64 GNU
v2.18.1
dezoomify-rs 2.18.1 This point release improves correctness for several CLI edge cases while preserving existing command-line options and normal download behavior. CLI changes: * Bulk input files now recognize .txt and .urls extensions case-insensitively, so names such as LIST.TXT and images.URLS work. * Generic image-size probing no longer risks integer overflow when searching extremely large coordinate ranges. * IIIF maxArea limits now use exact integer arithmetic, avoiding rounding errors for very large advertised limits. * File paths in diagnostics are displayed more naturally, without debug quotes and escaping. Internal cleanup removes impossible error paths and modernizes shared parsing and encoding code. Krpano resolution, bulk output naming and statistics, Zoomify level selection, and encoder behavior remain compatible. Full comparison: https://github.com/lovasoa/dezoomify-rs/compare/v2.18.0...v2.18.1
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
v2.17.0
Add support for encrypted krpano images Dezoomify can now decrypt encrypted krpano images and dezoom them. See https://github.com/lovasoa/krpano-decrypt and the reverse engineering work at https://github.com/lovasoa/krpano-decrypt/blob/main/PLAN.md Also fixes krpano Panotour XML files with interleaved scenes, viewer control tags, and single-resolution fallback images, such as testdata/krpano/geografiche.xml. Fixes https://github.com/lovasoa/dezoomify-rs/issues/305
v2.16.0
Adds support for IIIF presentation api v2 (used notably in https://artic.edu )
v2.15.0
Better bulk support: download all files from an iiif manifest; set im…
v2.14.0
dezoomify-rs v2.14.0
dezoomify-rs is a command-line tool for downloading zoomable images from web galleries, supporting formats including Zoomify, IIIF, DeepZoom, and others.
https://dezoomify-rs.ophir.dev/
New Features
Bulk Processing (--bulk)
Process multiple URLs from a text file in a single command. The tool reads URLs line-by-line, supports comments (#), and processes images sequentially with progress indicators.
dezoomify-rs --bulk urls.txt output_prefix.jpg
# Creates: output_prefix_0001.jpg, output_prefix_0002.jpg, etc.Behavior:
- Auto-enables
--largestwhen no level constraints are specified - Continues processing on individual failures
- Generates sequential filenames with
_NNNNsuffixes - Reports summary of successful/failed downloads
Zoom Level Selection (--zoom-level)
Select specific zoom levels by 0-based index. Falls back to highest available level if requested index exceeds available levels.
dezoomify-rs --zoom-level 2 https://example.com/image.dziCloses #279
ICC Profile and EXIF Metadata Support
Automatically detects and preserves ICC color profiles and EXIF metadata from source tiles. Profiles are embedded in output images across supported formats (JPEG, PNG, TIFF, WebP).
Implementation:
- Extracts ICC profiles during tile loading
- Applies profiles during final image encoding
- Handles profile conflicts by using first encountered profile
- Maintains EXIF data alongside color information
Addresses #259
Technical Changes
Runtime and Dependencies
- Updated to Rust 2024 edition
- Updated major dependencies:
imagecrate to latest versionitertoolsto 0.14sanitize-filename-reader-friendlyto 2.3.0evalexprto version 12
- Removed
rustlsdependency
Code Improvements
- Added
BinaryDisplayutility for Python-style binary data formatting (b'...') - Refactored tile creation to use builder pattern
- Improved error handling and trace logging
- Deferred PNG header writing to support ICC profile embedding
- Added HTML entity decoding for image titles
- Enhanced metadata extraction with separate loading function
Breaking Changes
None. All existing command-line interfaces remain compatible.
Documentation
- Added comprehensive bulk mode documentation with examples
- Updated command-line help with new options
- Added screen recording demonstration