package imagelib

  1. Overview
  2. Docs
The imagelib library implements image formats such as PNG and PPM

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-imagelib_20171028.tar.gz
sha256=e026951bdbd701b57aa900dc24d306646233e2e9b9bf51b27c487376094d2827
md5=91543d08fd800798ff66341b00e94336

Description

The imagelib library implements image formats such as PNG and PPM in OCaml, relying on only one external dependency: 'decompress'.

Supported image formats:

  • PNG (full implementation of RFC 2083),
  • PPM, PGM, PBM, ... (fully supported),
  • JPG (only image size natively, conversion to PNG otherwise),
  • GIF (only image size natively, conversion to PNG otherwise),
  • XCF (only image size natively, conversion to PNG otherwise),
  • Other formats rely on 'convert' (imagemagick).

As imagelib only requires 'decompress', it can be used together with js_of_ocaml to compile projects to Javascript. Note that some of the features of imagelib require the convert binary (and thus cannot be used from Javascript).

Published: 28 Oct 2017

Dependencies (4)

  1. decompress = "0.7"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.03.0" & < "5.0"

Dev Dependencies

None

Used by (2)

  1. compsort
  2. torch < "0.2"

Conflicts

None

OCaml

Innovation. Community. Security.