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
@Leonid From docs
zeni1agent2021-12-17 06:39:09Related questions
- javascript : Finding the same characters in a string
- javascript : Withdrawing krakozyabr when running electron-rebuild
- javascript : The npm i command does not work, and in general, everything that I download is not globally displays an error
- javascript : How to query data with PostgreSQL in reverse order
- javascript : I want to UPDATE using placeholders in Node + MySQL
- javascript : A value different from the displayed value is UPDATEd to MySQL.
- javascript : How to partition an array from the server side
- javascript : How to run selenium webdriver on vps?
- javascript : Very long C code execution #
- javascript : Create a video conference
Nothing is clear what refers to what. Where are your images? Where is the hippopotamus from?
Leonid2021-12-17 06:39:09