Laya is a high-performance server implementation of the IIIF Image API (version 3.0) with an emphasis on safety, performance, and spec-conformance.
- IIIF Image API 3.0 compliant implementation
- Streaming architecture that efficiently handles large images
- Flexible storage with modular backends for local filesystems and S3 object storage
Laya is currently in active development. Core functionality is working, including:
- JPEG2000 image decoding via Kakadu
- JPEG encoding via MozJPEG
- Multi-threaded processing pipeline
- Filesystem and S3 storage backends
- Tracing and metrics via OpenTelemetry
Coming soon™
- Linux
- Rust 1.85 (the project builds on stable, but nightly is used for
rustfmt
).
During development: cargo check
(or cargo build
to produce binaries).
For an optimized build: cargo build --release
.
Before committing:
cargo build
cargo clippy --workspace --all-targets --all-features -- -Dwarnings
cargo +nightly fmt --all
Laya is dual-licensed under Apache 2.0 and MIT.