Skip to content

Commit

Permalink
Merge pull request ocaml#12038 from rlepigre/master
Browse files Browse the repository at this point in the history
New release of imagelib (version 20180522)
  • Loading branch information
gasche authored May 26, 2018
2 parents ec20f50 + 8362231 commit 0ffd4a8
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/imagelib/imagelib.20180522/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
The imagelib library implements image formats such as PNG and PPM

The imagelib library implements image formats such as PNG and PPM in
OCaml, relying on only one external dependency: 'decompress'.

Supported image formats:
- PNG (full implementation of RFC 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 'decompress', it can be used together with
js_of_ocaml to compile projects to Javascript. Note that some of the
features of imagelib require the convert binary (and thus cannot be
used from Javascript).
19 changes: 19 additions & 0 deletions packages/imagelib/imagelib.20180522/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
opam-version: "1.2"
available: [ ocaml-version >= "4.03.0" ]
maintainer: "Rodolphe Lepigre <[email protected]>"
authors: "Rodolphe Lepigre <[email protected]>"
homepage: "http://lepigre.fr"
bug-reports: "Rodolphe Lepigre <[email protected]>"
license: "LGPL-3.0"
dev-repo: "git://github.com:rlepigre/ocaml-imagelib.git"
build: [make]
install: [make "install"]
remove: [make "uninstall"]
depends: [
"ocamlfind" {build}
"ocamlbuild" {build}
"decompress" {>= "0.7"}
]
post-messages: [
"imagelib requires convert (imagemagick) to handle format other than png and ppm."
]
2 changes: 2 additions & 0 deletions packages/imagelib/imagelib.20180522/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/rlepigre/ocaml-imagelib/archive/ocaml-imagelib_20180522.tar.gz"
checksum: "d5cf13df81f189c1f7cddaebfe524d73"

0 comments on commit 0ffd4a8

Please sign in to comment.