imagelib

AuthorRodolphe Lepigre <rodolphe.lepigre@inria.fr>
LicenseLGPL-3.0
Homepagehttp://lepigre.fr
Issue TrackerRodolphe Lepigre <rodolphe.lepigre@inria.fr>
MaintainerRodolphe Lepigre <rodolphe.lepigre@inria.fr>
Dependencies
&decompress>= 0.7
ocamlbuild
ocamlfind
Availableocaml-version >= "4.03.0"
PublishedOct 28, 2017
Source [http] https://github.com/rlepigre/ocaml-imagelib/archive/ocaml-imagelib_20171028.tar.gz
91543d08fd800798ff66341b00e94336
StatisticsInstalled 5 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/imagelib/imagelib.20171028/opam

The imagelib library implements image formats such as PNG and PPM

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).

No package is dependent