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:
parent
79fc30cfce
commit
9d091d1b58
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue