this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #18434 from mseri/release-imagelib-20210402

[new release] imagelib (20210402)

authored by

Kate and committed by
GitHub
146ffa23 97439571

+70
+70
packages/imagelib/imagelib.20210402/opam
··· 1 + synopsis: "Library implementing parsing of image formats such as PNG, BMP, PPM" 2 + description: 3 + """ 4 + The imagelib library implements image formats such as PNG, BMP, and PPM in 5 + OCaml, relying on only one external dependency: 'decompress'. 6 + 7 + Unix-dependent functionality such as reading or writing to files in the 8 + filesystem are packaged in the `imagelib.unix` findlib module inside this 9 + OPAM package; to use it you need to include `imagelib.unix` specifically 10 + in your project's dependencies, for instance `(libraries imagelib.unix)` 11 + in your Dune file. 12 + 13 + Supported image formats: 14 + - PNG (full implementation of RFC 2083), 15 + - PPM, PGM, PBM, ... (fully supported), 16 + - BMP (read-only) 17 + - JPG (only image size natively), 18 + - GIF (only image size natively), 19 + - There is an experimental native implementation available in the pure `ImageLib` module. 20 + - XCF (only image size natively), 21 + - Utility functions for handling unimplemented formats are available in 22 + the 'imagelib.unix' findlib package and handle conversion from unsupported 23 + image formats like JPG, GIF, XCF by converting them to PNG using the 24 + `convert` commandline utility from `imagemagick`. 25 + 26 + As imagelib only requires `decompress`, it is suitable (excluding operations 27 + requiring the `imagemagick` `convert` binary) for compilation to javascript 28 + using `js_of_ocaml`, or inclusion in MirageOS unikernels. 29 + 30 + `app/imagetool.ml` contains an example binary that acts as a command-line interface to many of the functions in the library. It will be installed as `imagetool` or `imagetool.exe` if you use **opam** to install the library, and otherwise it will be in `_build/default/app/imagetool.exe` 31 + """ 32 + opam-version: "2.0" 33 + maintainer: "rodolphe.lepigre@inria.fr" 34 + bug-reports: "https://github.com/rlepigre/ocaml-imagelib/issues" 35 + homepage: "https://github.com/rlepigre/ocaml-imagelib" 36 + dev-repo: "git+https://github.com/rlepigre/ocaml-imagelib.git" 37 + authors: [ 38 + "Rodolphe Lepigre <rodolphe.lepigre@inria.fr>" 39 + ] 40 + license: "GPL-3.0" 41 + doc: "https://rlepigre.github.io/ocaml-imagelib" 42 + 43 + depends: [ 44 + "ocaml" { >= "4.07.0" } 45 + "base-unix" 46 + "dune" { >= "2.3.0" } 47 + "decompress" { >= "1.3.0" } 48 + "stdlib-shims" 49 + "alcotest" { with-test } 50 + ] 51 + 52 + depopts: [ 53 + "crowbar" { with-test } 54 + "afl-persistent" { with-test } 55 + ] 56 + 57 + build: [ 58 + [ "dune" "build" "-p" name "-j" jobs 59 + "@install" 60 + "@runtest" {with-test} ] 61 + ] 62 + x-commit-hash: "4bfb1a17465365ed3a435ffc59932f78bba9b607" 63 + url { 64 + src: 65 + "https://github.com/rlepigre/ocaml-imagelib/releases/download/20210402/imagelib-20210402.tbz" 66 + checksum: [ 67 + "sha256=b3c8ace02b10b36b6c60b3ce3ae0b9109d4a861916ec320c59cc1194f4cc86e3" 68 + "sha512=2be7badb07a98565383d2ec6dc00599269e1127ff6467fd5d4730030dc7cff8c06027e6b54643fcd012ec3317d322e80b88456249c883c3e0bebc25b4beb0fca" 69 + ] 70 + }