sync settings till today

This commit is contained in:
2024-06-28 14:44:20 +02:00
parent 685d7cfde2
commit ccf78dc01e
4 changed files with 20 additions and 10 deletions

View File

@ -71,6 +71,7 @@ function textSplit(file, { limit, counter, text }){
function textInImage(file, { text, gravity, pointsize }){
text= getText(file, text);
const output= !file ? "textInImage.png" : (({ pathname: p })=> p.slice(1, p.lastIndexOf(".")+1)+"png")(new URL(file, "file://"));
if(s.test("-f", output)) s.rm(output);
const round_corners= [ //https://9to5answer.com/rounding-corners-of-pictures-with-imagemagick
"\\(",
"+clone -alpha extract",