Description Usage Arguments Examples
Pad image so that it is of the specified size
1 | img_pad_to_size(img, size = dim(img), value = 0)
|
img |
image |
size |
dimensions of the output image (cannot be smaller than the current dimensions) |
value |
fill value to use for padding the image. If value has the same length as the number of frames in the image, it will be applied frame-wise. |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.