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
- Host: GitHub
- URL: https://github.com/amhsirak/defu
- Owner: amhsirak
- Created: 2024-06-25T22:32:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T23:08:06.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T07:44:36.028Z (over 1 year ago)
- Topics: corrupted-images, elixir, image-processing
- Language: Elixir
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```