removed the .0 in the calculation of density because it was generating too high dpi at certain values with no apparent benefit otherwise

This commit is contained in:
Siren 2025-01-18 23:15:38 +01:00
parent 79fc30cfce
commit 9d091d1b58

View file

@ -43,7 +43,7 @@ fi
# calculate appropriate density to scale the svg # calculate appropriate density to scale the svg
# 25 is the dimension of either side of 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 %) # 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 # generate a PNG mask from the source svg
magick \ magick \