Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.81 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.81 KB

gopxsort

Command line pixel sorter.

Installation

Precompiled binaries for Windows and Linux can be downloaded via releases. You can also download for builds on the master branch.

Usage

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]

Examples

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_128 Sorted
Original Sorted (-t 128) Sorted
Original Sorted_128 Sorted
Original Sorted (-t 128) Sorted
Original Sorted_128 Sorted