Set 100% scale based on 96 DPI instead of 254 DPI

master
Nathan Crawford 2016-04-12 16:30:30 -04:00
rodzic 1b33c47dda
commit 612b8d0a24
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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)