transform_pad function

Pad the given image on all sides with the given "pad" value