An image pixel-sorting glitching app written in Processing by Paul Hertz:
GlitchSort2 is a Processing application that uses broken pixel-sorting to create glitchy images. Since it has found an audience among glitch artists, I’m setting up this page as a point from which to download a current version and reference materials, as these become available. I’ll also post news or links to news about GlitchSort2 here.
In version 1.0b4, released on August 1, 2012, there are four different sorting algorithms, each of which has a different behavior that can be used to affect images in different ways. Images larger than your screen can be panned by dragging with the mouse or fit to the screen dimensions for display. I’ve added a “munge” feature that does glitchy compositing, and a “degrade” command that uses JPEG compression to degrade an image.
There are links to the source code as well as executable versions for various operating systems which can be found here.
It should be noted that when I installed and run the application, it required a Processing library. Should you wish to try this app out, it is probably worth downloading and installing Processing, and installing this library in it’s folder (which it will ask for). When it is running, you will be given a prompt to open an image, and the options are in the drop-down menus (in ‘Glitch’). Have fun experimenting!