From 612b8d0a243a85c04299ee72de5ac6244e61c2d6 Mon Sep 17 00:00:00 2001 From: Nathan Crawford Date: Tue, 12 Apr 2016 16:30:30 -0400 Subject: [PATCH] Set 100% scale based on 96 DPI instead of 254 DPI --- embroideryReader/frmMain.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/embroideryReader/frmMain.cs b/embroideryReader/frmMain.cs index 0c26543..6905f7c 100644 --- a/embroideryReader/frmMain.cs +++ b/embroideryReader/frmMain.cs @@ -177,7 +177,10 @@ namespace embroideryReader return; } - Bitmap tempImage = design.designToBitmap((float)settings.threadThickness, (settings.filterStiches), settings.filterStitchesThreshold, 1.0f); + // Assume 96 DPI until we can come up with a better way to calculate it + float screenDPI = 96; + + Bitmap tempImage = design.designToBitmap((float)settings.threadThickness, (settings.filterStiches), settings.filterStitchesThreshold, (screenDPI / design.NativeDPI)); // Rotate image switch (designRotation)