kopia lustrzana https://github.com/njcrawford/EmbroideryReader
Set 100% scale based on 96 DPI instead of 254 DPI
rodzic
1b33c47dda
commit
612b8d0a24
|
@ -177,7 +177,10 @@ namespace embroideryReader
|
||||||
return;
|
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
|
// Rotate image
|
||||||
switch (designRotation)
|
switch (designRotation)
|
||||||
|
|
Ładowanie…
Reference in New Issue