Here is my first Glitch image. I created this glitch by finding an image and playing with its coding. You can do this by saving the file as a .jpg, then changing it to a .txt file and editing the code. After making edits, you can change the file back to a .jpg and see the resulting image.
With my second glitch, instead of deleting and replacing parts of the code, I cut a paste parts into different sections. I would take parts of the code from the top and put them down at the bottom and vice versa.
Here are a couple distortion images I created using a displacement filter in Photoshop. I created this effect by layering 20+ images over each other and displacing each slightly. Afterwards, I lowered the opacity on all the layers with the exception of my first layer, my background layer. The original image for this was a playground.