Grid

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
Line 19: Line 19:
  
 
<br>
 
<br>
 
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef| Grid (clip, int "sf", int "ef", int "lineint", int "bold", int "vbold", int "color", int "bcolor", int "vbcolor", bool "grid", bool "axis")}}
 
:{{Template:FuncDef| Grid (clip, int "sf", int "ef", int "lineint", int "bold", int "vbold", int "color", int "bcolor", int "vbcolor", bool "grid", bool "axis")}}
Line 66: Line 65:
 
  Grid(last,24,200,vbold=7000)
 
  Grid(last,24,200,vbold=7000)
 
  Grid(last,24,200,grid=false,axis=true)
 
  Grid(last,24,200,grid=false,axis=true)
 +
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters|External Filters]] &larr;'''
 
'''Back to [[External_filters|External Filters]] &larr;'''

Revision as of 20:48, 18 June 2018


Abstract
Author V.C.Mohan
Version 21 Mar 2017
Download Download
Category External filters
License GPLv2
Discussion Announced Grid plugin

Contents

Description

Grid lines are drawn as dotted lines, while those specified as bold are drawn as dashed lines and very bold ones are drawn as full lines. Full Description


Requirements

  • AviSynth+ r2347 or later


Syntax and Parameters

Grid (clip, int "sf", int "ef", int "lineint", int "bold", int "vbold", int "color", int "bcolor", int "vbcolor", bool "grid", bool "axis")


clip   =
Input clip


int  sf = 0
Grid display to start from frame number


int  ef = last frame of clip
Grid display to end on frame number


int  lineint = 10
Grid line (dotted) interval in pixels


int  bold = 5


int  vbold = 2


int  color = 0
Color of grid line


int  bcolor = color
Color of bold line


int  vbcolor = color
Color of very bold line


bool  grid = true
Whether grid lines to be displayed


bool  axis = false
Whether axis lines to be displayed


Examples

Grid(last,24,200,25,4,5,$ff0000,$7f0000,$5f0000,true,false)
For grid lines and very bold lines only (vbold=1 ensures it)
Grid(last,24,200,10,10,1)
Grid(last,24,200,color=255)
Fbold lines will not be displayed as large value ensures out of frame
Grid(last,24,200,vbold=7000)
Grid(last,24,200,grid=false,axis=true)



Back to External Filters

Personal tools