
Successfully matted picture:
The function allows parameters of matte width and color. I selected 25 pixels and black.

Successfully Tiled Picture
This function allowed me to select a picture, quarter it, and then tile in a canvas of the original size.