View source: R/helpers_magick.R
images.same.width | R Documentation |
Extent all images to the width of the image with maximal width.
images.same.width(images, background_color = "white")
images |
a vector/stack of magick images. See |
background_color |
hex color string, the background color to use if the images have different sizes and one needs to be extended. Do not use color names like 'gray', which differ between R and magick. |
a vector/stack of magick images, all with the same width.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.