blob: a4638e59756360fa3db8647183cbee097687ddee [file] [log] [blame]
Hao Zhu5fe235c2020-08-26 00:26:49 -04001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/spec_tools.R
3\name{spec_image}
4\alias{spec_image}
5\title{Setup image path, size, etc}
6\usage{
7spec_image(path, width, height, res = 300, svg_text = NULL)
8}
9\arguments{
10\item{path}{file path(s)}
11
12\item{width}{image width in pixel}
13
14\item{height}{image height in pixel}
15
16\item{res}{image resolution.}
17
18\item{svg_text}{If you have the raw text for SVG. Put them here}
19}
20\description{
21Users can directly provide image file path to column spec.
22However, if you need to specify the size of the image, you will need this
23function.
24}