View source: R/helpers_magick.R
images.same.height | R Documentation |
Extent all images to the height of the image with maximal height.
images.same.height(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 height.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.