cutcutcodec.core.filter.video.pad

Add padding to an image while keeping the proportions.

Functions

pad_keep_ratio(image, shape[, copy])

Pad the image with transparent borders.