Release of imagelib

I’m pleased to announce the release of imagelib version 20170118.

http://opam.ocaml.org/packages/imagelib/

The imagelib library implements image formats such as PNG or PPM in OCaml, relying only on 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 requiring the convert binary).

3 Likes

Looks like a very useful library, thanks.

Did you consider moving the hosting to github/gitlab perhaps? Among many benefits, this will allow users to easily report and view bugs in a proper bug tracker.

Actually, the project has moved to GitHub with this very release! :slight_smile:

3 Likes

Sweet! Here’s a link for the lazy:

2 Likes

Please consider using Gitlab if you can, it would be great :slight_smile:

There is already a zlib in OCaml by @dinosaure, maybe it would make more sense to contribute there?

1 Like

I’ll have look to that, thanks!

1 Like