make output image according to pixelArray

pixelArray made according to colorArrays