Skip to content
Fills the borders of a clip
Branch: master
Clone or download
Permalink
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
Makefile.am Add build system Dec 14, 2013
autogen.sh Add build system Dec 14, 2013
configure.ac Add build system Dec 14, 2013
readme.rst Tweak readme.rst Dec 14, 2013

readme.rst

Description

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

Usage

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.
mode
"repeat"
Fills the borders using the outermost line or column.
"mirror"
Fills the borders by mirroring.
"fillmargins"
Fills the borders exactly like the Avisynth filter FillMargins, version 1.0.2.0. 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.

Compilation

./autogen.sh
./configure
make

License

The license is WTFPL.

You can’t perform that action at this time.