Skip to content
Fills the borders of a clip
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add fillborders.c Dec 14, 2013
.gitignore Remove config.guess and .sub files Sep 5, 2015 Add build system Dec 14, 2013 Add build system Dec 14, 2013 Add build system Dec 14, 2013
readme.rst Tweak readme.rst Dec 14, 2013



This is a simple filter that fills the borders of a clip, without changing the clip's dimensions.


fb.FillBorders(clip clip[, int left=0, int right=0, int top=0, int bottom=0, string mode="repeat"])
left, right, top, bottom
Number of pixels to fill on each side. These can be any non-negative numbers, within reason. If they are all 0, the input clip is simply passed through.
Fills the borders using the outermost line or column.
Fills the borders by mirroring.
Fills the borders exactly like the Avisynth filter FillMargins, version This mode is similar to "repeat", except that each pixel at the top and bottom borders is filled with a weighted average of its three neighbours from the previous line.




The license is WTFPL.

You can’t perform that action at this time.