Function to make two images the same size by padding one image

images_resize(img1, img2, scale = F)

Arguments

img1

image 1

img2

image 2

scale

should the smaller image be scaled?