Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (39 sloc) 1.5 KB
opam-version: "2.0"
maintainer: "Rodolphe Lepigre <rodolphe.lepigre@univ-smb.fr>"
authors: "Rodolphe Lepigre <rodolphe.lepigre@univ-smb.fr>"
homepage: "http://lepigre.fr"
bug-reports: "Rodolphe Lepigre <rodolphe.lepigre@univ-smb.fr>"
license: "LGPL-3.0"
dev-repo: "git://github.com:rlepigre/ocaml-imagelib.git"
build: [make]
install: [make "install"]
remove: [make "uninstall"]
depends: [
"ocaml" {>= "3.12.1" & < "4.06.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"camlzip"
]
post-messages: [
"imagelib requires convert (imagemagick) to handle format other than png and ppm."
]
synopsis: "The imagelib library implements image formats such as PNG or PPM"
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)."""
url {
src:
"https://github.com/rlepigre/ocaml-imagelib/archive/ocaml-imagelib_20170118.tar.gz"
checksum: "md5=2eb3cd27e0425b6eda5d9655233a0029"
}
You can’t perform that action at this time.