[Worksheet][KiCad 7] Adapted image scale (to mm)

This commit is contained in:
Salvador E. Tropea 2023-02-14 12:45:36 -03:00
parent c0408077fc
commit 68e6e5f825
1 changed files with 2 additions and 0 deletions

View File

@ -438,6 +438,8 @@ class WksBitmap(WksDrawing):
if GS.ki5:
# KiCad 5 uses Inches and with less resolution
img.scale(KICAD5_SVG_SCALE)
elif GS.ki7:
img.scale(GS.to_mm(1))
elif svg_precision != 6:
img.scale(scale)
# Put the image in a group