R/spec_tools.R
spec_image.Rd
Users can directly provide image file path to column spec. However, if you need to specify the size of the image, you will need this function.
spec_image(path, width, height, res = 300, svg_text = NULL)
file path(s)
image width in pixel
image height in pixel
image resolution.
If you have the raw text for SVG. Put them here