AviSynthGimpLayer

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(redirect for convenient searching)
 
(AviSynthGimpLayer: add documentation)
 
Line 1: Line 1:
#REDIRECT [[External_filters#Averaging.2FLayering.2FMasking]]
+
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Layering}}
{{FilterCat|External_filters|Adjustment_filters|Layering}}
+
{{Filter3
 +
|1= [http://sourceforge.net/u/panzerboy66/profile/ panzerboy66]
 +
|2=2012/12/01
 +
|3=[https://sourceforge.net/projects/avisynthgmplyr/ AvisynthGimpLayer.zip]
 +
|4=Layering
 +
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 +
|6=[http://forum.doom9.org/showthread.php?p=1554963#post1554963 Doom9 Thread]}}
 +
 
 +
== Description ==
 +
Gimp-style Layer merge plugin for AviSynth.
 +
 
 +
See [https://docs.gimp.org/en/gimp-concepts-layer-modes.html gimp-concepts-layer-modes] for a description of how these merges work.
 +
 
 +
<br>
 +
== Requirements ==
 +
* [x86] [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater]
 +
* Supported color formats: [[RGB24]], [[RGB32]]
 +
<br>
 +
== [[Script variables|Syntax and Parameters]] ==
 +
 
 +
<div style="margin-left: 2em; max-width: 30em">
 +
<pre>
 +
 
 +
Normal      (clip, clip, float "opacity")
 +
Multiply    (clip, clip, float "opacity")
 +
Divide      (clip, clip, float "opacity")
 +
Screen      (clip, clip, float "opacity")
 +
GimpOverlay  (clip, clip, float "opacity")
 +
Burn        (clip, clip, float "opacity")
 +
Dodge        (clip, clip, float "opacity")
 +
Hardlight    (clip, clip, float "opacity")
 +
Softlight    (clip, clip, float "opacity")
 +
GrainExtract (clip, clip, float "opacity")
 +
GrainMerge  (clip, clip, float "opacity")
 +
Difference  (clip, clip, float "opacity")
 +
Addition    (clip, clip, float "opacity")
 +
Subtract    (clip, clip, float "opacity")
 +
DarkenOnly  (clip, clip, float "opacity")
 +
LightenOnly  (clip, clip, float "opacity")
 +
Hue          (clip, clip, float "opacity")
 +
Saturation  (clip, clip, float "opacity")
 +
Colour      (clip, clip, float "opacity")
 +
Value        (clip, clip, float "opacity")
 +
</pre>
 +
</div>
 +
<br>
 +
::{{Par2| |clip| }}
 +
::{{Par2| |clip| }}
 +
:::Input clips; the 2nd clip is merged 'on top' of the first. Clips should be in RGB or RGBA format only.
 +
<br>
 +
::{{Par2|opacity|float| }}
 +
:::Opacity is 100 for full and 0 for transparent.
 +
<br>
 +
:*Note the spelling of <code>GimpOverlay</code>, there is already a built in overlay filter, don't confuse the two.
 +
 
 +
:*Note the last four merges <code>Hue, Saturation, Colour and Value</code> do an intrinsic RGB->HSV conversion and back so will probably be slow. <br> 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 <code>Normal</code> will do it.
 +
<br>
 +
== Examples ==
 +
'''TODO'''
 +
<br>
 +
<br>
 +
== Changelog ==
 +
Version      Date(D/M/Y)      Changes<br>
 +
              2012/12/01      - Bug fix release, Colour, Hue and Saturation filters fixed.
 +
              2012/01/31      - Initial release
 +
<br>
 +
 
 +
== Archived Downloads ==
 +
{| class="wikitable" border="1"; width="600px"
 +
|-
 +
!!width="100px"| Version
 +
!!width="150px"| Download
 +
!!width="150px"| Mirror
 +
|-
 +
!2012/12/01
 +
|[https://sourceforge.net/projects/avisynthgmplyr/ AvisynthGimpLayer.zip]
 +
|
 +
|}
 +
<br>
 +
==External Links ==
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Averaging.2FLayering.2FMasking|External Filters]] &larr;'''

Latest revision as of 20:27, 6 July 2020

Abstract
Author panzerboy66
Version 2012/12/01
Download AvisynthGimpLayer.zip
Category Layering
License GPLv2
Discussion Doom9 Thread

Contents

[edit] Description

Gimp-style Layer merge plugin for AviSynth.

See gimp-concepts-layer-modes for a description of how these merges work.


[edit] Requirements


[edit] Syntax and Parameters


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


clip   =
clip   =
Input clips; the 2nd clip is merged 'on top' of the first. Clips should be in RGB or RGBA format only.


float  opacity =
Opacity is 100 for full and 0 for transparent.


  • 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.


[edit] Examples

TODO

[edit] Changelog

Version      Date(D/M/Y)      Changes
2012/12/01 - Bug fix release, Colour, Hue and Saturation filters fixed. 2012/01/31 - Initial release


[edit] Archived Downloads

Version Download Mirror
2012/12/01 AvisynthGimpLayer.zip


[edit] External Links




Back to External Filters

Personal tools