This does not change size of the image in pixels, nor does it affect
appearance -- it is lossless compression. This requires GraphicsMagick
(recommended) or ImageMagick to be installed.
Character vector containing the path of images to resize.
Scaling specification. Can be a percent, as in
or pixel dimensions like
Any valid ImageMagick geometry specifation can be used. If
contains multiple images, this can be a vector to specify distinct sizes
for each image.
# Can be chained with webshot() or appshot()
# Generate image that is 400 pixels wide