<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://avisynth.nl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=GraMaMa</id>
		<title>GraMaMa - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=GraMaMa"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=GraMaMa&amp;action=history"/>
		<updated>2026-04-07T18:51:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php?title=GraMaMa&amp;diff=6285&amp;oldid=prev</id>
		<title>Reel.Deal: GraMaMa</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=GraMaMa&amp;diff=6285&amp;oldid=prev"/>
				<updated>2015-10-11T12:54:16Z</updated>
		
		<summary type="html">&lt;p&gt;GraMaMa&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat4|External_filters|Plugins|Adjustment_filters|Masking}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
| {{author/E-Male}}, {{author/Wilbert Dijkhof}}&lt;br /&gt;
| v0.2&lt;br /&gt;
|[http://www.wilbertdijkhof.com/GraMaMa_v02.zip GraMaMa_v02.zip]&lt;br /&gt;
| Masking&lt;br /&gt;
| Public domain&lt;br /&gt;
|6=[http://forum.doom9.org/showthread.php?t=87791&amp;amp;page=7#post598958 Doom9 Thread]}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;lt;tt&amp;gt;GraMaMa&amp;lt;/tt&amp;gt; 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.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/  greater]&lt;br /&gt;
* Supported color formats: [[YV12]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|GraMaMa (clip, int &amp;quot;mode&amp;quot;, int &amp;quot;a&amp;quot;, int &amp;quot;b&amp;quot;, int &amp;quot;rad&amp;quot;, int &amp;quot;rad2&amp;quot;, bool &amp;quot;binarize&amp;quot;)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
:::Input clip.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|mode|int|1}}&lt;br /&gt;
:::* 1 : circle&lt;br /&gt;
:::* 2 : square&lt;br /&gt;
:::* 3 : diamond&lt;br /&gt;
:::* 4 : line&lt;br /&gt;
:::* 5 : ellipse&lt;br /&gt;
:::* 6 : rectangle&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|a|int|width/2}}&lt;br /&gt;
::{{Par2|b|int|height/2}}&lt;br /&gt;
:::(a,b) is the center of the mask. It can be located outside the clip.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|rad|int|width/4}}&lt;br /&gt;
:::rad is the horizontal radius of the mask.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|rad2|int| }}&lt;br /&gt;
:::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&amp;gt;0).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|binarize|bool|false}}&lt;br /&gt;
:::binarize = false (gradient mask), binarize = true (black and white mask).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples == &lt;br /&gt;
TO DO&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
 Version      Date            Changes&amp;lt;br&amp;gt;&lt;br /&gt;
 v0.2         14/02/2008      - Some corrections and other default values.&lt;br /&gt;
                              - Added ellipse and rectangle.&lt;br /&gt;
                              - Added binarize=true/false.&lt;br /&gt;
                              - Added documentation.&lt;br /&gt;
 v0.1         21/01/2005      - Initial release by E_Male.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Archived Downloads ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;; width=&amp;quot;600px&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!!width=&amp;quot;100px&amp;quot;| Version&lt;br /&gt;
!!width=&amp;quot;150px&amp;quot;| Download&lt;br /&gt;
!!width=&amp;quot;150px&amp;quot;| Mirror&lt;br /&gt;
|-&lt;br /&gt;
!v0.2&lt;br /&gt;
|[http://www.wilbertdijkhof.com/GraMaMa_v02.zip GraMaMa_v02.zip]&lt;br /&gt;
|[http://web.archive.org/web/20150705114217/http://www.wilbertdijkhof.com/GraMaMa_v02.zip GraMaMa_v02.zip]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== External Links ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
'''Back to [[External_filters#Averaging.2FLayering.2FMasking|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>