An open API service indexing awesome lists of open source software.

https://github.com/amhsirak/defu

Dead simple JPG corruption library for Elixir
https://github.com/amhsirak/defu

corrupted-images elixir image-processing

Last synced: 10 months ago
JSON representation

Dead simple JPG corruption library for Elixir

Awesome Lists containing this project

README

          

#### defu
image corruption for jpg images. can be used to create glitch art 🫧


#### install

```elixir
defp deps do
[{:defu, "~> 0.0.1"}]
end
```

#### how to use?
```elixir
defmodule Example do
alias Defu, as: D

def glitch do
D.glitch("./image.jpg", %{iter: 14, amount: 20, seed: 34})
end
end
```