images.same.height {fsbrain} | 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.