Home>

I just use this one
And I decided to add a filter I added it here

const image= await loadImage (`$ {_ layer.location} $ {element.fileName}`);
  ctx.filter= 'contrast (1.4) sepia (1) drop-shadow (-9px 9px 3px # e81)';
  ctx.drawImage (
    image,
    _layer.position.x,
    _layer.position.y,
    _layer.size.width,
    _layer.size.height
  );
  saveLayer (canvas, _edition);

Filter operation

Nothing is clear what refers to what. Where are your images? Where is the hippopotamus from?

Leonid2021-12-17 06:39:09

@Leonid From docs

zeni1agent2021-12-17 06:39:09