worked on array to png converter