Here’s an excellent demo of Pnglitch, a little commandline tool/library
https://ucnv.github.io/pnglitch/
I converted this to some more straightforward instructions of the Linux Terminal
$sudo gem install pnglitch
There are four main glitch filters are possible:
Average – 1
Sub – 2
Up – 3
paeth – 4
(or from 1 to 4 instead of the names)
To use them on your image:
$pnglitch /path/to/your/image.png –filter=Average /path/to/your/glitcchhh.png
To change the parameters of the glitches, you have to dive in deeper.. With Ruby and the scripts.
When you interlace your png with imagemagick, the glitches made afterwards really make their pixels shine.
$convert /path/to/your/image.png -interlace Line /path/to/your/interlaced_image.png
(imagemagick has 2 main types of interlacing: http://astroa.physics.metu.edu.tr/MANUALS/ImageMagick-6.2.5/www/command-line-options.html#interlace )
–> run pnglitch after interlacing (see 1/2 toot)
via https://boingboing.net/2019/02/04/glitching-pngs.html but tested out live and translated to straight forward instructions in my playtime hour