https://github.com/akascape/pixelort
Advanced Pixel Sorting application made with customtkinter python!
https://github.com/akascape/pixelort
customtkinter glitch glitch-art glitch-effect pixel-art pixel-sorter pixel-sorting pixel-sorting-images python-app python-application tkinter tkinter-gui
Last synced: 14 days ago
JSON representation
Advanced Pixel Sorting application made with customtkinter python!
- Host: GitHub
- URL: https://github.com/akascape/pixelort
- Owner: Akascape
- License: mit
- Created: 2023-11-08T08:06:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-11T09:22:57.000Z (over 1 year ago)
- Last Synced: 2024-05-21T03:35:37.406Z (11 months ago)
- Topics: customtkinter, glitch, glitch-art, glitch-effect, pixel-art, pixel-sorter, pixel-sorting, pixel-sorting-images, python-app, python-application, tkinter, tkinter-gui
- Language: Python
- Homepage:
- Size: 285 KB
- Stars: 24
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Advanced Pixel Sorting application made with customtkinter and python

## 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
[
](https://github.com/Akascape/Pixelort/releases/download/v0.1/Pixelort-v0.1_win64.zip)
## PYTHON INSTALLATION
- Download the python version:
[](https://github.com/Akascape/Pixelort/archive/refs/heads/main.zip)
- 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](https://github.com/Akascape/Pixelort/blob/main/Documentation.md)
## Quick Masking Tool
**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**
[
](https://github.com/Akascape/Pixelort/blob/main/LICENSE)
![]()