package imagelib

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

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-imagelib_20170118.tar.gz
sha256=371e72549e2d8202ed0c4ef3555b457bee6f96cffe7fbcc6116498af449ca349
md5=2eb3cd27e0425b6eda5d9655233a0029

Description

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

Published: 14 Aug 2017

Dependencies (4)

  1. camlzip
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "3.12.1" & < "4.06.0"

Dev Dependencies

None

Used by (2)

  1. compsort
  2. torch < "0.2"

Conflicts

None

OCaml

Innovation. Community. Security.