glitch images with python