Skip to content

About

A command line pixel sorting utility

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

lineSorter

Building

To build run "haxe lineSorter.hxml". You'll need the format library, which can be installed by using "haxelib install format".

Running

Run by executing "neko bin/lineSorter.n -i filename" from the command line. Only PNG is supported right now. The resulting file will be located at filename-output.png.

Options:

The following arguments can be used to change the behaviour of the utility:

  • -i filename - to specify the input file (required).
  • -m (h|s|l|r|g|b) - to specify the criterium used to sort the values. H, S, L, R, G, B stand for hue, saturation, lightness(default), red, green and blue respectively.
  • -l - to use the line-wise mode, sorts single pixel values within every vertical line of the image.

Album with examples

http://imgur.com/a/gOzgk

About

A command line pixel sorting utility

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages