Altering pixels of a png file