imagelibversion
Library implementing parsing of image formats such as PNG, BMP, PPM
The imagelib library implements image formats such as PNG, BMP, and PPM in OCaml, relying on only one external dependency: 'decompress'.
Unix-dependent functionality such as reading or writing to files in the filesystem are packaged separately in the 'imagelib-unix' OPAM package.
Supported image formats:
- PNG (full implementation of RFC 2083),
- PPM, PGM, PBM, ... (fully supported),
- BMP (read-only)
- 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),
- Utility functions for handling unimplemented formats are available in the 'imagelib-unix' OPAM package. See that package description for more info.
As imagelib only requires 'decompress', it can be used together with js_of_ocaml to compile projects to Javascript, or from MirageOS unikernels.
Author | Rodolphe Lepigre <rodolphe.lepigre@inria.fr> |
---|---|
License | GPL-3.0-only |
Published | |
Homepage | https://github.com/rlepigre/ocaml-imagelib |
Issue Tracker | https://github.com/rlepigre/ocaml-imagelib/issues |
Maintainer | rodolphe.lepigre@inria.fr |
Dependencies |
|
Optional dependencies |
|
Source [http] | https://github.com/rlepigre/ocaml-imagelib/releases/download/20210116/imagelib-20210116.tbz sha256=e8be5acf0fe38d840331fe505db090b3b2e36089d012530ec9353e79d8ab4870 sha512=d5386b5d6036293f53f5910553fb2f6898f5c7d72fde67eec1e953ac5846c6b05b061074ec237741e89cea3653fb88f4a1a0554ebb57b402a0a396882c5545ff |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/imagelib/imagelib.20210116/opam |
Required by
Optionally used by