[package] name = "tiffwrite" version = "2026.5.1" edition = "2024" rust-version = "1.88.0" authors = ["Wim Pomp "] license = "MIT OR Apache-2.0" description = "Write BioFormats/ImageJ compatible tiffs with zstd compression in parallel." homepage = "https://git.wimpomp.nl/wim/tiffwrite" repository = "https://git.wimpomp.nl/wim/tiffwrite" documentation = "https://docs.rs/tiffwrite" readme = "README.md" keywords = ["bioformats", "tiff", "ndarray", "zstd", "fiji"] categories = ["multimedia::images", "science"] [lib] name = "tiffwrite" crate-type = ["cdylib", "rlib"] [dependencies] colorcet = "0.2" colorgrad = "0.8" color-eyre = { version = "0.6", optional = true } chrono = "0.4" css-color = "0.2" flate2 = "1" lazy_static = "1" ndarray = "0.17" num = "0.4" numpy = { version = "0.28", optional = true } pyo3 = { version = "0.28", features = ["abi3-py310", "eyre", "generate-import-lib", "multiple-pymethods"], optional = true } pyo3-stub-gen = { version = "0.22", optional = true } rayon = "1" thiserror = "2" tokio = { version = "1", features = ["fs", "rt", "rt-multi-thread", "time"] } zstd = "0.13" [features] python = ["dep:pyo3", "dep:numpy", "dep:color-eyre", "dep:pyo3-stub-gen"]