package bimage-unix
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=3875b65b243ea7055af6aeb70099fcfbde7973ad02e5b1613c16ffb702c77cd8
sha512=7ff3fd5d71c93b11a487d7be3fdfca4b0e98973551f44d2fd49b8b4ce866f7ad380a4a784ba16ea01173c52e24b2d93b9a635c471b690b35792c12c4ee69a886
Description
An image processing library for OCaml providing efficient, composable operations. Additionally, bimage supports most types supported by Bigarray.
README
bimage — Image processing library
v0.5.0
bimage is an image processing library for OCaml.
Features
- Simple image type based on bigarrays
- Supports u8, u16, i32, i64, f32, f64 datatypes
- Composable image operations
- Image I/O using OpenImageIO (
bimage-io) - Image I/O using ImageMagick/GraphicsMagick and stb_image (
bimage-unix) - GLFW window support (
bimage-display)
bimage is distributed under the ISC license.
Homepage: https://github.com/zshipko/ocaml-bimage
Installation
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.
Getting started
Type.t: Defines the type of an image:u8,u16,f32,f64,i32ori64Color.t: Defines the color of an image:gray,rgb,rgba,xyzandyuv- It's possible to extend the color type by implementing COLOR
Image.t: Image typeKernel.t: Convolution kernelsTransform.t: Image transformationsExpr.t: Expression combinator- Building blocks for image processing filters
Filter.t: Executable image filter- Makes
Expr.texecutable
- Makes
There is a corresponding file for each of these types in src/.
Examples
See examples/ for usage examples
Documentation
The documentation and API reference is generated from the source interfaces. It can be consulted online or via odig doc bimage.
Tests
In the distribution sample programs and tests are located in the test directory. They can be built and run with:
dune runtest
Dependencies (5)
-
ctypes-foreign
>= "0.4" -
ctypes
>= "0.14" -
bimage
= version -
dune
>= "2.0" -
ocaml
>= "4.08.0"
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building bimage-unix with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure