imagelib

AuthorRodolphe Lepigre <rodolphe.lepigre@univ-smb.fr>
LicenseLGPL-3.0
Homepagehttp://lepigre.fr
Issue TrackerRodolphe Lepigre <rodolphe.lepigre@univ-smb.fr>
MaintainerRodolphe Lepigre <rodolphe.lepigre@univ-smb.fr>
Dependencies
&camlzip
ocamlbuild
ocamlfind
Availableocaml-version >= "3.12.1"
PublishedAug 13, 2017
Source [http] https://github.com/rlepigre/ocaml-imagelib/archive/ocaml-imagelib_20170118.tar.gz
2eb3cd27e0425b6eda5d9655233a0029
StatisticsInstalled 9 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/imagelib/imagelib.20170118/opam

The imagelib library implements image formats such as PNG or PPM

The imagelib library implements image formats such as PNG or PPM in OCaml, relying on only one external dependency: camlzip. However, we plan to reimplement zlib in OCaml at some point.

Supported image formats:

  • PNG (full implementation of RCF 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 camlzip, it is suitable for compilation to javascript using js_of_ocaml (only for operations not requireing the convert binary).

No package is dependent