deprecated get/setRasterData method