Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
src
 
 
 
 
 
 
 
 

README.md

Imgsort

A Rust thingy that sorts the pixels in an image.

git clone https://github.com/alvare/imgsort
cd imgsort
cargo install
imgsort mypic.jpg out.png

It will also save the output image in any format supported by image.

Modes

For now the pixels can be sorted in 7 dimensions:

  • the 4 channels in RGBA
  • the 3 channels in HSL

For example

imgsort mypic.jpg lol.jpg --mode hue

will sort the pixels according to their hue values.

Examples

Original:

Original

Red sorted:

Red

Hue sorted:

Hue

Why

I'm just trying out the language 😁.

About

Sort pixels in images.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.