A tiny Elixir library for image decoding task using image_rs as the backend.
OS | Arch | Build Status |
---|---|---|
Ubuntu 20.04 | x86_64 | |
macOS 11 | arm64/x86_64 |
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.
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.