Java Create Image From Pixel Array