JsonCutDocs

Vector paths and compositing

Keep path geometry editable, use alpha mattes or erasers within a controlled layer group, key out backgrounds and export with transparency.

Structured vector points support straight lines and Bézier handles. Compositing changes how a layer's alpha affects lower siblings inside the same parent.

Rendered output

Experimental album cover

Editable vector geometry, overlapping color fields and local layer compositing in a still composition.

Experimental album cover
Image1080 × 1080Editable V2 source

Editable path

<div id="wave" data-jc-clip data-jc-kind="shape" data-jc-name="Wave"
  data-jc-start="0" data-jc-duration="1" data-jc-track="3"
  data-jc-vector-closed="true"
  data-jc-vector-fill="#ff9418"
  data-jc-vector-stroke="#ffffff"
  data-jc-vector-stroke-width="4"
  data-jc-vector-points="[{&quot;id&quot;:&quot;a&quot;,&quot;x&quot;:20,&quot;y&quot;:180,&quot;curve&quot;:true,&quot;controlOut&quot;:{&quot;x&quot;:120,&quot;y&quot;:20}},{&quot;id&quot;:&quot;b&quot;,&quot;x&quot;:420,&quot;y&quot;:180,&quot;curve&quot;:true,&quot;controlIn&quot;:{&quot;x&quot;:300,&quot;y&quot;:340}}]">
</div>

Alpha roles

<div id="local-composition" data-jc-clip data-jc-kind="group" ...>
  <img id="photo" data-jc-clip data-jc-kind="image" ... />
  <div id="cutout" data-jc-clip data-jc-kind="shape"
    data-jc-composite="erase" ...></div>
</div>
  • data-jc-composite="erase" removes lower sibling pixels using source alpha.
  • data-jc-composite="matte" keeps lower sibling pixels using source alpha.

The compositing layer itself is not painted into the output. Opaque pixels have full effect; gradients produce proportional transparency. Put the affected layers and the matte in one group when unrelated background layers must stay untouched.

Remove a background without AI

data-jc-key keys out the background of an image or video layer, live in the preview and in the export. It holds JSON:

<video id="presenter" data-jc-clip data-jc-kind="video" ...
  data-jc-key='{"color":"#00b140","tolerance":40,"softness":20,"spill":50}'
  src="jsoncut-media://media_presenter"></video>
FieldMeaning
modecolor (default), luma or difference
color, colorscolor mode: the #rrggbb colour to remove, plus up to three more samples for an unevenly lit screen
lumaluma mode: remove dark (default) or light areas
platedifference mode: a still of the empty background (jsoncut-media:// reference or URL)
tolerance, softness0 to 100 (defaults 40 and 20)
spillcolor mode only: 0 to 100, removes the key colour's cast on the edges (default 50)
choke0 to 10 px: shrinks the kept area to drop a coloured fringe (default 0)

In Studio, Remove background on a picture or video layer writes the same attribute. From MCP, patch a layer with key or the chromaKey shortcut (a colour, dark or light).

Transparent output

Images keep transparency in PNG and WebP; a project with canvasBackground: "transparent" renders transparent by default, while JPG and PDF cannot. A video keeps a transparent background only on request: set transparent: true with MOV (ProRes 4444) or WebM (VP9). The canvas colour is then left out, so only your layers remain; full-size background layers still cover it. Transparent video renders are slower and the files are much larger. In Studio the export dialog shows Transparent background for these formats.