12 stable releases (3 major)
new 3.1.1 | Mar 12, 2023 |
---|---|
3.0.2 | Jan 22, 2023 |
2.0.3 | Oct 15, 2022 |
1.1.0 | Aug 4, 2022 |
0.2.0 | Jun 13, 2022 |
#78 in Images
100 downloads per month
Used in webpixels
1MB
1K
SLoC
pixelmosh
Compilation
CLI
cargo install --locked pixelmosh
GUI
cargo install --locked pixelmosh --features gui
Basic usage
pixelmosh foo.png
Options
┌─────────────────────────────────────┐
│ █▀▄ █ ▀▄▀ ██▀ █ █▄ ▄█ ▄▀▄ ▄▀▀ █▄█ │
│ █▀ █ █ █ █▄▄ █▄▄ █ ▀ █ ▀▄▀ ▄██ █ █ │
└─────────────────────────────────────┘
PNG corrupter
Usage: pixelmosh [OPTIONS] <FILE>
Arguments:
<FILE> File path
Options:
-n, --min-rate <MIN_RATE> Minimum chunks to process [default: 1]
-m, --max-rate <MAX_RATE> Maximum chunks to process [default: 7]
-p, --pixelation <PIXELATION> Pixelation rate [default: 10]
-l, --line-shift <LINE_SHIFT> Line shift rate [default: 0.3]
-r, --reverse <REVERSE> Reverse rate [default: 0.3]
-f, --flip <FLIP> Flip rate [default: 0.3]
-c, --channel-swap <CHANNEL_SWAP> Channel swap rate [default: 0.3]
-t, --channel-shift <CHANNEL_SHIFT> Channel shift rate [default: 0.3]
-s, --seed <SEED> Custom seed
-b, --batch <BATCH> Number of files to output
-o, --output <OUTPUT> Output filename
-h, --help Print help (see more with '--help')
-V, --version Print version
libmosh
Dependencies
~2.6–9MB
~162K SLoC