About Pixel Sorting
Pixel sorting is a glitch art technique that reorders the pixels of an image to create streaks. This tool scans each row or column, finds runs of neighbouring pixels whose brightness lies between the two thresholds, and sorts every run from dark to light. Pixels outside the range stay in place and act as boundaries. A narrow range leaves most of the picture intact, while a wide range smears large areas. Large images are scaled to at most 1,600 pixels on the long side.
How to use Pixel Sorting
- Choose an image, or drag it onto the upload area. The file is read by your browser and is not uploaded.
- Set "Direction", "Lower brightness threshold", "Upper brightness threshold" and "Reverse sort order". The preview updates as you change them.
- Check the preview, then press "Download result" to save the file.
Questions about Pixel Sorting
How do I control where the streaks appear?
Move the two thresholds. Only pixels with brightness between them are sorted. To streak the sky but keep dark buildings, raise the lower threshold. To affect shadows only, lower the upper threshold.
Runs in your browser. Page last updated .