adapt_image | R Documentation |
Resizes an image to fit within the specified dimensions, centering it on a blank canvas.
adapt_image(image_file, width = 800, height = 600)
image_file |
|
width |
|
height |
|
A string representing the path to the new resized image file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.