Add a padding to the border of the image

padding(image, width)

Arguments

image

path of input file

width

the pixels of the padding, the padding width for left, right, top, bottom are the same

Value

an image matrix that has been padded