forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ocaml#12038 from rlepigre/master
New release of imagelib (version 20180522)
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |