https://github.com/protolux-electronics/dither
https://github.com/protolux-electronics/dither
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/protolux-electronics/dither
- Owner: protolux-electronics
- License: mit
- Created: 2025-09-04T21:15:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-09-21T14:25:55.000Z (10 months ago)
- Last Synced: 2025-09-30T00:13:02.323Z (10 months ago)
- Language: Elixir
- Size: 41 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`](https://gitlab.com/efronlicht/dither) library from Efron Licht.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `dither` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:dither, "~> 0.1.0"}
]
end
```
Documentation can be generated with
[ExDoc](https://github.com/elixir-lang/ex_doc) and published on
[HexDocs](https://hexdocs.pm). Once published, the docs can be found at
.