File: shape.xml

package info (click to toggle)
kdenlive 25.12.0-1
  • links: PTS
  • area: main
  • in suites: forky
  • size: 125,912 kB
  • sloc: cpp: 206,648; xml: 11,857; python: 1,139; ansic: 1,054; javascript: 578; sh: 389; makefile: 15
file content (39 lines) | stat: -rw-r--r-- 2,127 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<!DOCTYPE kpartgui>
<effect xmlns="https://www.kdenlive.org" tag="shape" id="shape">
    <name>Shape Alpha</name>
    <description>Create an alpha channel (transparency) based on another resource</description>
    <author>Charles Yates</author>
    <parameter type="urllist" paramlist="%maskPaths" name="resource" filter="Video files (*)">
        <name>Image or video resource</name>
    </parameter>
    <parameter type="keyframe" name="mix" max="100" min="0" default="100" suffix="%" relative="true">
        <name>Threshold</name>
        <comment>Convert alpha or luma values below this level as opaque and above this level as transparent. This is mostly useful for luma wipe images.</comment>
    </parameter>
    <parameter type="constant" name="softness" max="1" min="0" default="0.1" decimals="2">
        <name>Softness</name>
        <comment>When using mix (threshold) how soft to make the edge around the threshold. 0.0 = no softness, 1.0 = too soft.</comment>
    </parameter>
    <parameter type="bool" name="invert" default="0" min="0" max="1">
        <name>Invert</name>
        <comment>Use the inverse of the alpha channel.</comment>
    </parameter>
    <parameter type="bool" name="use_luminance" default="0" min="0" max="1">
        <name>Use Luma</name>
        <comment>Use the image luma instead of the alpha channel.</comment>
    </parameter>
    <parameter type="bool" name="use_mix" default="1" min="0" max="1">
        <name>Use Threshold</name>
        <comment>Whether to apply a threshold filter to the luma or alpha or not. If not, luma or alpha value of the resource (File) is copied to the alpha channel.</comment>
    </parameter>
    <parameter type="position" name="in" default="%in" min="0" max="1000000">
        <name>Offset</name>
        <comment>Start position for the mask file.</comment>
    </parameter>
    <parameter type="position" name="out" default="-1" min="-1" max="1000000">
        <name>Out</name>
        <comment>End position for the mask file.</comment>
    </parameter>
    <parameter type="fixed" name="audio_match" default="0" />
</effect>