GithubHelp home page GithubHelp logo

dannode36 / pixelssorted Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 27 KB

Command line pixel sorter made in C#

License: MIT License

C# 100.00%
command-line command-line-tool csharp pixel-art pixel-sorter

pixelssorted's Introduction

PixelsSorted

PixelsSorted is a command line based pixel sorter.

Pixel sorting is the act of sorting each row or collumn of an image. E.g by hue, saturation, brightness.

Getting Started

The sorter can be used in 2 different ways: By running the executable, or via program arguments. If program arguments are supplied, the sorter will only execute once and sort a single image (subject to change). Vice versa, when none are supplied, the application will continue to run and request input until closed.

To sort an image using the default settings:

Run the executable and enter the file path to your image. The image will be saved in the same directory as the executable (also subject to change)

OR

Start your command line shell of choice in the same directory as the PixelsSorted.exe. Then run "PixelsSorted.exe <path-to-image>"

The syntax for sorting images is as follows, "<path-to-image> <args>" and by default, the sorter will sort vertically, smallest to largest, by hue. For a list of all the optional arguments please see below.

Optional Arguments

Arguments can be passed in any order and are not case sensitive(v2.1+).

Note: Any additional arguments for the same setting will override previous arguments. E.g: "image.png -sat -h -hue", the image will be sorted by hue and not by saturation

Sorting Values:

-hue: Sorts pixels based on their hue

-sat: Sorts pixels based on their saturation

-brt: sorts pixels based on their brightness

Sorting Order:

-stl: Sorts pixels in order of smallest value to largest value

-lts: Sorts pixels in order of largest value to smallest value

Sorting Direction:

-h: Sorts image horizontally (rows of pixels)

-v: Sorts image vertically (columns of pixels)

pixelssorted's People

Contributors

dannode36 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.