Transform a flextable into a rasterSource:
save a flextable as an image and return the corresponding raster. This function has been implemented to let flextable be printed on a ggplot object.
The function is no longer very useful since
gen_grob() exists and
will be deprecated in a future version.