Home
Name Modified Size InfoDownloads / Week
AvisynthGimpLayer.zip 2012-11-30 14.1 kB
Avisynth Gimp-style layer filter - Source.zip 2012-11-30 3.0 MB
readme.txt 2012-01-31 1.7 kB
Totals: 3 Items   3.0 MB 1
To install copy the Release\AvisynthGimpLayer.dll into the Pugins directory of AVIsynth

Or you can put it anywhare and use LoadPlugin("C:\...\AvisynthGimpLayer.dll") in your script
(where the ... is the path to the dll)

This implements the following merge filters.

Normal(clip, clip, opacity=float)
Multiply(clip, clip, opacity=float)
Divide(clip, clip, opacity=float)
Screen(clip, clip, opacity=float)
GimpOverlay(clip, clip, opacity=float)
Burn(clip, clip, opacity=float)
Dodge(clip, clip, opacity=float)
Hardlight(clip, clip, opacity=float)
Softlight(clip, clip, opacity=float)
GrainExtract(clip, clip, opacity=float)
GrainMerge(clip, clip, opacity=float)
Difference(clip, clip, opacity=float)
Addition(clip, clip, opacity=float)
Subtract(clip, clip, opacity=float)
DarkenOnly(clip, clip, opacity=float)
LightenOnly(clip, clip, opacity=float)
Hue(clip, clip, opacity=float)
Saturation(clip, clip, opacity=float)
Colour(clip, clip, opacity=float)
Value(clip, clip, opacity=float)

This works the same way as the Merge function the 2nd clip is merged 'on top' of the first.
Clips should be in RGB or RGBA format only.
Opacity is 100 for full and 0 for transparant.

See http://docs.gimp.org/2.6/en/gimp-concepts-layer-modes.html
for a description of how these merges work.

Note the spelling of GimpOverlay, there is already a built in overlay filter, don't confuse the two.

Note the last four merges Hue, Saturation, Colour and Value do an
intrinsic RGB->HSV conversion and back so will probably be slow.
You may be better off doing a converttoyv12 and mergechroma rather than the Colour merge.

If you need a simple merge that works on RGB format clips then Normal will do it.

Source: readme.txt, updated 2012-01-31