Grid

From Avisynth wiki
Revision as of 13:10, 3 December 2014 by Vcmohan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Abstract
Author V.C.Mohan
Version 1.0.0.0.0
Download 2.5.8 versionGrid 2.6.0 alpha5 version URL -->Grid
Category External filters
License GPLv2
Discussion Announced Grid plugin


Contents

Description

As certain filters require specification of window or points on a frame with x and y coordinates, this plugin overlays a grid on image to enable correct values to be specified and a full description is at click me.

Requirements

* Not available in AviSynth 2.5.8.


"c[sf]i[ef]i[lineint]i[bold]i[vbold]i[color]i[bcolor]i[vbcolor]i[grid]b[axis]b"

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.


sf  int = 0
starting frame number on which grid is to be displayed .


ef  int = last frame of clip
ending frame number on which grid is to be displayed


lineint  int = 10
grid line interval in pixels. 4 to 1/4th of frame smaller dimension .


bold  int = 5
every bold numbered grid line to appear bold . .


vbold  int = 2
every vbold numbered bold line to appear very bold .


color  int = 0
grid line color in RRGGBB format .


bcolor  int = color
every bold grid line to appear in this color RRGGBB format .


vbold  int = color
every vbold line to appear with this color, RRGGBB format .


grid  bool = true
are grid lines to be displayed? both grid and axis should not be false .


axis  int = false
Whether axis rulers to be displayed? Both axis and grid should not be false .






Examples

## This is some example code to blur  an image.
imagereader("C:\..........jpg", end = 10)
converttoyv16()
# Grid rulers display
Grid( color = $ff, bcolor = $ff00, vbcolor = $ff0000, lineint = 10)
# Axis lines in color
Grid(grid = false, axis = true, color=$ff)
# grid lines in black
Grid()



Back to External Filters

Personal tools