Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure.
parent
99cfcf405b
commit
8493123629
|
@ -69,8 +69,8 @@ namespace PrimMesher
|
|||
|
||||
Bitmap scaledImage = new Bitmap(destWidth, destHeight,
|
||||
PixelFormat.Format24bppRgb);
|
||||
scaledImage.SetResolution(srcImage.HorizontalResolution,
|
||||
srcImage.VerticalResolution);
|
||||
|
||||
scaledImage.SetResolution(96.0f, 96.0f);
|
||||
|
||||
Graphics grPhoto = Graphics.FromImage(scaledImage);
|
||||
grPhoto.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Bilinear;
|
||||
|
|
Loading…
Reference in New Issue