StbImage-Elixir

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

There is an alternative version of this repo, image_rs, which uses image_rs as the backend. That backend is implemented in Rust, so you will need a working Rust compiler. But the number of supported image formats are more than the stb_image backend.

OS Build Status
Ubuntu 20.04 CI
macOS 11 CI

Installation

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

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

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