ocaml-tiff#
Warning. This is a work-in-progress experimental fork of ocaml-tiff. Do not use it in production; use ocaml-tiff instead.
A pure OCaml library for reading and writing TIFF and BigTIFF files: tiled
and striped layouts, LZW and Deflate compression, the
horizontal-differencing predictor, and GeoTIFF metadata (GeoKeyDirectory,
ModelPixelScale, ModelTiepoint, ModelTransformation). The underlying IO
mechanisms are expected to be provided by the user as a positioned-read
function, so any byte-range source works: a local file (see the bundled
tiff.unix and tiff.eio helpers), an object store, or an HTTP range
reader.
tiff is a fork of geocaml/ocaml-tiff,
whose design and implementation are the work of the geocaml developers.
Tests#
To run the test suite, run dune runtest.
License#
MIT. See LICENSE.md.