Command line pixel sorter.
Precompiled binaries for Windows and Linux can be downloaded via releases. You can also download for builds on the master branch.
USAGE:
gopxsort [FLAGS] [OPTIONS] --input <input> --output <output>
FLAGS:
-h, --help Prints help information
OPTIONS:
-i, --input <input> Sets the input file
-o, --output <output> Sets the output file
-t, --threshold <threshold> Sets threshold of sorting [default: 0] [possible values: 0-255]
Commands
gopxsort -i img/city/city.jpg -o img/city/city_sorted.jpg
gopxsort -i img/city/city.jpg -o img/city/city_sorted.jpg -t 128
Original | Sorted (-t 128) | Sorted |
---|---|---|
Original | Sorted (-t 128) | Sorted |
---|---|---|
Original | Sorted (-t 128) | Sorted |
---|---|---|