this repo has no description
1synopsis: "Library implementing parsing of image formats such as PNG, BMP, PPM"
2description:
3"""
4The imagelib library implements image formats such as PNG, BMP, and PPM in
5OCaml, relying on only one external dependency: 'decompress'.
6
7Unix-dependent functionality such as reading or writing to files in the
8filesystem are packaged separately in the 'imagelib-unix' OPAM package.
9
10Supported image formats:
11 - PNG (full implementation of RFC 2083),
12 - PPM, PGM, PBM, ... (fully supported),
13 - BMP (read-only)
14 - JPG (only image size natively, conversion to PNG otherwise),
15 - GIF (only image size natively, conversion to PNG otherwise),
16 - XCF (only image size natively, conversion to PNG otherwise),
17 - Utility functions for handling unimplemented formats are available in
18 the 'imagelib-unix' OPAM package. See that package description for more info.
19
20As imagelib only requires 'decompress', it can be used together with
21js_of_ocaml to compile projects to Javascript, or from MirageOS unikernels.
22"""
23opam-version: "2.0"
24maintainer: "rodolphe.lepigre@inria.fr"
25bug-reports: "https://github.com/rlepigre/ocaml-imagelib/issues"
26homepage: "https://github.com/rlepigre/ocaml-imagelib"
27dev-repo: "git+https://github.com/rlepigre/ocaml-imagelib.git"
28authors: [
29 "Rodolphe Lepigre <rodolphe.lepigre@inria.fr>"
30]
31license: "GPL-3.0-only"
32doc: "https://rlepigre.github.io/ocaml-imagelib"
33
34depends: [
35 "ocaml" { >= "4.07.0" & < "5.0" }
36 "base-unix"
37 "dune" { >= "2.3.0" }
38 "decompress" { >= "1.2.0" & < "1.3.0" }
39 "stdlib-shims"
40 "alcotest" { with-test }
41]
42
43depopts: [
44 "crowbar" { with-test }
45 "afl-persistent" { with-test }
46]
47
48build: [
49 [ "dune" "build" "-p" name "-j" jobs
50 "@install"
51 "@runtest" {with-test} ]
52]
53x-commit-hash: "3d27098d5885100c130074d98f4e6973480d1f94"
54url {
55 src:
56 "https://github.com/rlepigre/ocaml-imagelib/releases/download/ocaml-imagelib_20200929/imagelib-ocaml-imagelib_20200929.tbz"
57 checksum: [
58 "sha256=8af15b79cb0ad8809734531179a85f2f70d434f5f2b4ca9653bc37207b27d8f3"
59 "sha512=edce1f21ccc9fafa9242cf602bbd13fafd768fd9d614420cb462df2389a51063df6041bd4d1f84a46a5937a5ecf108c9925794d0ce453f1d5f8482ae6f3bfbb0"
60 ]
61}