From 9d091d1b5880817e58c63734055534145b5ba36f Mon Sep 17 00:00:00 2001 From: Siren Date: Sat, 18 Jan 2025 23:15:38 +0100 Subject: [PATCH] removed the .0 in the calculation of density because it was generating too high dpi at certain values with no apparent benefit otherwise --- mepapemaker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mepapemaker.sh b/mepapemaker.sh index d97a68a..0e61c8d 100755 --- a/mepapemaker.sh +++ b/mepapemaker.sh @@ -43,7 +43,7 @@ fi # calculate appropriate density to scale the svg # 25 is the dimension of either side of the svg # 50 is the rough scale of the logo that will be on the final image (in %) -density=$(awk "BEGIN {print ($pscale_val/($lscale_val+2).0)*50}") +density=$(awk "BEGIN {print ($pscale_val/($lscale_val+2))*50}") # generate a PNG mask from the source svg magick \