Add rgb 2d data handling.