package imagelib

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

Install

Dune Dependency

Authors

Maintainers

Sources

imagelib_20160413.tar.gz
sha256=9168b9b8b3c693384a994a5fcbf9ed98df61c4cd553e1ed7d1a1a8e7ccb72171
md5=b24402c12c50c8d891735ae3c03ceae9

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: 13 Apr 2016

Dependencies (4)

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

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.