GraMaMa
From Avisynth wiki
Abstract | |
---|---|
Author | E-Male, Wilbert Dijkhof |
Version | v0.2 |
Download | GraMaMa_v02.zip |
Category | Masking |
License | Public domain |
Discussion | Doom9 Thread |
Contents |
Description
GraMaMa creates a mask (either greyscale or black/white) given a prescribed shape (such as circle, ellipse, line, square and rectangle). It replaces the input clip by a mask with the same dimensions and color format.
Requirements
Syntax and Parameters
- GraMaMa (clip, int "mode", int "a", int "b", int "rad", int "rad2", bool "binarize")
- clip =
- Input clip.
- clip =
- int mode = 1
- 1 : circle
- 2 : square
- 3 : diamond
- 4 : line
- 5 : ellipse
- 6 : rectangle
- int mode = 1
- int a = width/2
- int b = height/2
- (a,b) is the center of the mask. It can be located outside the clip.
- int a = width/2
- int rad = width/4
- rad is the horizontal radius of the mask.
- int rad = width/4
- int rad2 =
- rad2 is the vertical radius of the mask (for mode=1,3,4 it is equal to rad; for mode=5,6 (default rad/2) it can be set separately; for mode=2 is results in a vertical gradient mask (when rad2>0).
- int rad2 =
- bool binarize = false
- binarize = false (gradient mask), binarize = true (black and white mask).
- bool binarize = false
Examples
TO DO
Changelog
Version Date Changes
v0.2 14/02/2008 - Some corrections and other default values. - Added ellipse and rectangle. - Added binarize=true/false. - Added documentation. v0.1 21/01/2005 - Initial release by E_Male.
Archived Downloads
Version | Download | Mirror |
---|---|---|
v0.2 | GraMaMa_v02.zip | GraMaMa_v02.zip |
External Links
Back to External Filters ←