Skip to content

protolux-electronics/dither

Repository files navigation

Dither

This library is a rustler NIF for Elixir which provides support for some basic image manipulation functions, as well as dithering. Supported functions include:

  • load an image from file
  • save an image to file
  • decode an image from bytes
  • encode an image to bytes
  • resize an image
  • flip an image
  • convert an image to grayscale
  • dither an image with various algorithms
  • ... and more

The dithering functions wrap the excellent dither library from Efron Licht.

Installation

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

def deps do
  [
    {:dither, "~> 0.1.0"}
  ]
end

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published