Page
Library
Module
Module type
Parameter
Class
Class type
Source
v0.3.0
bimage is an image processing library for OCaml.
bimage-io)bimage-unix)bimage-display)bimage is distributed under the ISC license.
Homepage: https://github.com/zshipko/ocaml-bimage
bimage can be installed with opam:
$ opam install bimagebimage-io can be installed by running:
$ opam install bimage-ioAdditionally, bimage-unix, which provides stb-image and ImageMagick bindings, can be installed by running:
$ opam install bimage-unixIf you don't use opam consult the opam file for build instructions.
Type.t: Defines the type of an image: u8, u16, f32, f64, i32ori64`Color.t: Defines the color of an image: gray, rgb, rgba, xyz and yuv
Image.t: Image typeKernel.t: Convolution kernelsTransform.t: Image transformationsExpr.t: Expression combinator
Filter.t: Executable image filter
Expr.t executableThere is a corresponding file for each of these types in src/.
See examples/ for usage examples
The documentation and API reference is generated from the source interfaces. It can be consulted online or via odig doc bimage.
In the distribution sample programs and tests are located in the test directory. They can be built and run with:
dune runtest