Skip to content

Advanced Pixel Sorting application made with customtkinter python!

License

Notifications You must be signed in to change notification settings

Akascape/Pixelort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Advanced Pixel Sorting application made with customtkinter and python

Screenshot

What is Pixel Sorting?

Pixel sorting is a digital image processing technique that involves isolating a horizontal or vertical line of pixels in an image and sorting their positions based on any number of criteria, such as luminosity, hue, or saturation. The result is a glitchy, abstracted image that can be used for artistic purposes. Pixelort is also a software that can do pixel sorting with various options and tweaks. This tool is based on this library: https://github.com/satyarth/pixelsort

DOWNLOAD

Windows Version

PYTHON INSTALLATION

  • Download the python version:

  • Extract the downloaded file
  • Install the modules of requirements.txt: pip install -r requirements.txt
  • Run pixelort.py

FEATURES

  • Drag and Drop file support
  • Masking feature
  • Save/Import Mask
  • 6 Pixel Sorting Modes
  • Angle and threshold parameters
  • Sorting functions
  • Image reference mode
  • Check version updates
  • Export to png/jpg
  • One click live render
  • Dark/Light themes
  • More...

📖READ DOCUMENTATION

Quick Masking Tool

Screenshot

You can draw the mask of the area where you want the pixel sorting effect.

Modes

Modes Description
Random Randomly generate intervals. Distribution of widths is linear by default. Interval widths can be scaled using character length.
Edges Performs an edge detection, which is used to define intervals.
Threshold Intervals defined by lightness thresholds; only pixels with a lightness between the upper and lower thresholds are sorted.
Waves Intervals are waves of nearly uniform widths. Control width of waves with character length.
Reference Intervals taken from another specified input image. Should be black and white, and the same size as the input image.
Border Sort whole rows, only stopping at image borders.

Sorting Functions

Sorting function Description
Lightness Sort by the lightness of a pixel according to a HSL representation.
Hue Sort by the hue of a pixel according to a HSL representation.
Saturation Sort by the saturation of a pixel according to a HSL representation.
Intensity Sort by the intensity of a pixel, i.e. the sum of all the RGB values.
Minimum Sort on the minimum RGB value of a pixel (either the R, G or B).

Conclusion

This project can be helpful for customtkinter developers making similar type of applications, it will also help those who want to experiment pixel sorting and glitch art. Support for more projects!

Author: Akascape