images.same.width {fsbrain} | R Documentation |
Extent all images to the width of the image with maximal width.
Description
Extent all images to the width of the image with maximal width.
Usage
images.same.width(images, background_color = "white")
Arguments
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. |
Value
a vector/stack of magick images, all with the same width.
[Package fsbrain version 0.5.5 Index]