FillBorders

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Changelog)
m
Line 1: Line 1:
 
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Borders and Cropping}}
 
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Borders and Cropping}}
 
{{Filter3
 
{{Filter3
|[http://github.com/dubhater dubhater] / Asd
+
|[http://github.com/dubhater dubhater] / [http://avisynth.nl/index.php/User_talk:Asd Asd]
 
|r1
 
|r1
 
|3=[http://s000.tinyupload.com/index.php?file_id=95893792311172045215 FillBorders]
 
|3=[http://s000.tinyupload.com/index.php?file_id=95893792311172045215 FillBorders]

Revision as of 23:24, 22 March 2020

Abstract
Author dubhater / Asd
Version r1
Download FillBorders
Category Borders and Cropping
License WTFPL
Discussion

Contents

Description

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

Requirements


Syntax and Parameters

FillBorders (clip, int "left", int "top", int "right", int "bottom", int "mode")


clip   =
Input clip.
int  left = 0
int  top = 0
int  right = 0
int  bottom = 0
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.
int  mode = 0
  • 0 : Fills the borders exactly like the AviSynth filter FillMargins, version 1.0.2.0. This mode is similar to mode 1, except that each pixel at the top and bottom borders is filled with a weighted average of its three neighbours from the previous line.
  • 1 : Fills the borders using the outermost line or column (aka "repeat").
  • 2 : Fills the borders by mirroring.


Examples

AviSource("Blah.avi")
FillBorders(left=5,top=7, right=2, bottom=0)


Changelog

Version       Date            Changes
r1 2019/04/10 - first release - port from VapourSynth plugin by Dubhater - Author: Asd


Archived Downloads

Version Download Mirror
r1


External Links




Back to External Filters

Personal tools