#glitch

bin+lib pixelmosh

PNG corrupter

5 releases (3 stable)

Uses new Rust 2021

1.1.0 Aug 4, 2022
1.0.1 Jul 26, 2022
1.0.0 Jul 23, 2022
0.2.0 Jun 13, 2022
0.1.0 Jun 12, 2022

#102 in Images

Download history 44/week @ 2022-06-12 7/week @ 2022-06-19 2/week @ 2022-06-26 2/week @ 2022-07-03 3/week @ 2022-07-10 14/week @ 2022-07-17 46/week @ 2022-07-24 36/week @ 2022-07-31 15/week @ 2022-08-07

111 downloads per month
Used in webpixels

MIT license

1MB
420 lines

pixelmosh

Crates.io Tests codecov

Compilation

make
sudo make install

Usage

┌─────────────────────────────────────┐
│ █▀▄ █ ▀▄▀ ██▀ █   █▄ ▄█ ▄▀▄ ▄▀▀ █▄█ │
│ █▀  █ █ █ █▄▄ █▄▄ █ ▀ █ ▀▄▀ ▄██ █ █ │
└─────────────────────────────────────┘
PNG corrupter

USAGE:
    pixelmosh [OPTIONS] <FILE>

ARGS:
    <FILE>

OPTIONS:
    -m, --min-rate <MIN_RATE>              [default: 1]
    -n, --max-rate <MAX_RATE>              [default: 7]
    -p, --pixelation <PIXELATION>          [default: 10]
    -l, --line-shift <LINE_SHIFT>          [default: 0.3]
    -r, --reverse <REVERSE>                [default: 0.3]
    -f, --flip <FLIP>                      [default: 0.3]
    -c, --channel-swap <CHANNEL_SWAP>      [default: 0.3]
    -t, --channel-shift <CHANNEL_SHIFT>    [default: 0.3]
    -s, --seed <SEED>
    -o, --output <OUTPUT>
    -h, --help                             Print help information
    -V, --version                          Print version information

Dependencies

~4.5MB
~90K SLoC