pixelmosh

Crates.iopixelmosh
lib.rspixelmosh
version3.6.0
sourcesrc
created_at2022-06-12 04:18:37.040048
updated_at2024-07-22 07:34:38.553401
descriptionPNG corrupter
homepage
repositoryhttps://github.com/charlesrocket/pixelmosh
max_upload_size
id604377
size1,387,241
-k (charlesrocket)

documentation

README

pixelmosh

Crates.io Tests codecov

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 <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

Follow the example from docs.rs.

Commit count: 782

cargo fmt