Filter kann ein Attribut eines Bild- oder Videoelements sein, das dieses spezifische Element betrifft, oder es kann ein Element selbst sein, das auf die gesamte Leinwand angewendet wird.
| Eigenschaft | Typ | Erforderlich | Beispiel | Wertbereich | Beschreibung |
|---|---|---|---|---|---|
| type | string | true | Pixelate | Pixelate | Ascii | CRT | Glitch | Bloom | RGB Split | Old Film | Dot | Emboss | Hatch | Basic Blur | Motion Blur | TiltShift | Zoom | Glow | Noise | Koda | Polaroid | Sepia | Lsd | Desaturate | Saturate | Der Typ des Filteragents, der auf das Bild- oder Videoelement angewendet wird. |
| options | array | true | - | - | Ein Array von Filteroptionen. |
{
"type": "",
"width": 1920,
"height": 1080,
"fill": "#000000",
"view": [
{
"id": "6b91fbc5-a69c-4783-8216-395b8feac9b2",
"type": "Image",
"start": 0,
"duration": 5,
"trackIndex": 1,
"x": 0,
"y": 0,
"blendMode": "normal",
"anchorX": 1310.5,
"anchorY": 1965.5,
"rotation": 0,
"scaleX": 0.27473925209870265,
"scaleY": 0.27473925209870265,
"alpha": 1,
"skewX": 0,
"skewY": 0,
"keyframes": [],
"filterAgent": { "type": "RGB Split" },
"externalUrl": "https://images.pexels.com/photos/30473423/pexels-photo-30473423.jpeg",
"ext": "jpeg"
}
],
"audio": [],
"effect": [
{
"id": "87043853-c68d-4553-a7cb-6f4d503e9f17",
"start": 0,
"duration": 5,
"trackIndex": 0,
"filterAgent": {
"type": "Pixelate",
"options": [{ "key": "size", "value": 8, "min": 1, "max": 100 }]
},
"type": "Filter"
}
],
"transition": [],
"version": 0,
"duration": 5
}