Rgb Array To Image Python