ImageRs-Elixir

A tiny Elixir library for image decoding task using image_rs as the backend.

OSArchBuild Status
Ubuntu 20.04x86_64CI
macOS 11arm64/x86_64CI

There is an alternative version of this repo, stb_image, which uses stb_image.h as the backend. It is implemented in C++, so you only need a working C++ compiler. But the number of supported image formats are less than the image_rs backend.

Installation

If available in Hex, the package can be installed by adding image_rs to your list of dependencies in mix.exs:

def deps do
[
{:image_rs, "~> 0.1.0", github: "cocoa-xu/image_rs"}
]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/image_rs.