A pixel sorting implementation in go
- Make sure you have go installed
- Download "PixelSort.go"
- Use
go build PixelSort.go
to produce an executable
./goPixelSort -i infile.jpg -o outfile.png -d 750 -r
- -i input file, a .jpg or .png (required)
- -o output file, ending in .jpg or .png (required)
- -d edge sensitivity, a larger number means more distortion
- -r reverse sort direction