25 stable releases (4 major)
Uses new Rust 2024
new 4.1.0 | Mar 23, 2025 |
---|---|
3.6.1 | Jan 7, 2025 |
3.6.0 | Jul 22, 2024 |
3.5.2 | Feb 22, 2024 |
0.2.0 | Jun 13, 2022 |
#109 in Images
263 downloads per month
Used in webpixels
1MB
1.5K
SLoC
pixelmosh
Compilation
CLI
cargo install pixelmosh
GUI (GTK)
cargo install pixelmosh --features gui
Basic usage
pixelmosh foo.png
Options
┌─────────────────────────────────────┐
│ █▀▄ █ ▀▄▀ ██▀ █ █▄ ▄█ ▄▀▄ ▄▀▀ █▄█ │
│ █▀ █ █ █ █▄▄ █▄▄ █ ▀ █ ▀▄▀ ▄██ █ █ │
└─────────────────────────────────────┘
PNG corrupter
Usage: pixelmosh [OPTIONS] <FILE>
Arguments:
<FILE> File path
Options:
-n, --min-rate <VALUE> Minimum chunks to process [default: 1]
-m, --max-rate <VALUE> Maximum chunks to process [default: 7]
-p, --pixelation <VALUE> Pixelation rate [default: 10]
-l, --line-shift <VALUE> Line shift rate [default: 0.3]
-r, --reverse <VALUE> Reverse rate [default: 0.3]
-f, --flip <VALUE> Flip rate [default: 0.3]
-c, --channel-swap <VALUE> Channel swap rate [default: 0.3]
-t, --channel-shift <VALUE> Channel shift rate [default: 0.3]
-a, --ansi Use ANSI color palette
-s, --seed <VALUE> Custom seed
-b, --batch <VALUE> Number of files to output
-o, --output <VALUE> Output filename
-h, --help Print help (see more with '--help')
-V, --version Print version
libmosh
Dependencies
~4–15MB
~218K SLoC