Pure OCaml TIFF reader and writer
0

Configure Feed

Select the types of activity you want to include in your feed.

OCaml 83.7%
Standard ML 8.9%
Shell 3.0%
Python 1.8%
Dune 0.6%
Other 2.0%
13 1 0

Clone this repository

https://git.vm.fail/gazagnaire.org/ocaml-tiff https://git.vm.fail/did:plc:uxmzhztig3m5uggpikelm6th
ssh://git@git.recoil.org:2222/gazagnaire.org/ocaml-tiff ssh://git@git.recoil.org:2222/did:plc:uxmzhztig3m5uggpikelm6th

For self-hosted knots, clone URLs may differ based on your setup.


README.md

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.