Image - an image processing library based upon Vix

Image version 0.9.0 has just been published.

The major feature is the beginning of integration with the fabulous eVision (OpenCV) by @cocoa. The integration doesn’t copy any data to/from the libvips NIF and the openCV NIF so performance and resource utilisation should be quite good.

In this initial experimental release, eVision is an optional dependency. Only one function is exposed which decodes QRcodes. See Image.QRcode.decode/1.

The full changelog is:

Enhancements

  • Image.open/2 supports opening .gif and .tif images from raw binary data in addition to the previous .jpeg, .png and .webp.

  • Add Image.shape/1

  • Add Image.interpretation/1

  • Add Image.type/1

  • Add initial support for eVision. In this release the function Image.QRcode.decode/1 is provided to decode images that contain a QRcode. See the eVision repository for installation instructions since this library is not yet on hex.pm.

  • Removed most dialyzer warnings. The remaining warnings require an update to Vix (a PR has been submitted).

12 Likes