From a3e681c85ea0b016d3c7465e6d2f8ee70a65fda8 Mon Sep 17 00:00:00 2001 From: Siren Date: Wed, 11 Dec 2024 23:46:30 +0100 Subject: [PATCH] updated script for IM7 --- mepapemaker.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mepapemaker.sh b/mepapemaker.sh index 031d6a7..ee50cb4 100755 --- a/mepapemaker.sh +++ b/mepapemaker.sh @@ -19,26 +19,27 @@ fi density=$(awk "BEGIN {print ($scale_val/25.0)*50}") # generate a PNG mask from the source svg -convert \ +magick \ -density $density \ -gravity center \ + arch.svg \ -background white \ -extent "${width}x${height}" \ - arch.svg \ + -resize 100% \ tmp_arch_mask.png # generate wallpaper name outfile_name=$(basename "$pape") # add arch mask to original image -convert \ +magick \ + "$pape" \ -write-mask "tmp_arch_mask.png" \ -gravity center \ -blur 0x30 \ -attenuate 0.3 \ +noise Laplacian \ -evaluate Multiply 1.3 \ - "$pape" \ "arch_btw_$outfile_name" # delete temporary file