change color_type to 2, fixes spotted red PNG image and results in a solid red PNG image