Skip to content

skulltraill/lineSorter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 100.0%