Image is an image processing library for Elixir. It is based upon the fabulous vix library that provides a libvips wrapper for Elixir. Image is intend

GitHub - kipcole9/image: Image processing for Elixir

submited by
Style Pass
2022-05-20 21:00:09

Image is an image processing library for Elixir. It is based upon the fabulous vix library that provides a libvips wrapper for Elixir.

Image is intended to provide well-documented common image processing functions in an idiomatic Elixir functional style as a layer above the very comprehensive set of functions in Vix and libvips.

In a very simple image resizing benchmark, Image is approximately 2 to 3 times faster than Mogrify and uses about 5 times less memory.

Installing Vix requires libvips with development headers. Installation is platform dependent however the common platform installations are:

Vix and libvips offer various configuration parameters that affect debug output, image caching, concurrency of imaging operations and memory leak detection. Each of these options has reasonable defaults so no action is required in order to start using the library.

Vix NIF code writes logs to stderr on certain errors. This is disabled by default. To enable logging set the VIX_LOG_ERROR environment variable to true.

Leave a Comment