init pixel array to zeros