Changed imageformat
This commit is contained in:
parent
a758c8c63e
commit
601200a8d6
@ -111,7 +111,7 @@ public static class Renderer
|
||||
int pixelsX = (int)(lonDiff * scaleFactor);
|
||||
int pixelsY = (int)(latDiff * scaleFactor);
|
||||
|
||||
Image ret = renderOver ?? new Bitmap(pixelsX, pixelsY, PixelFormat.Format32bppRgb);
|
||||
Image ret = renderOver ?? new Bitmap(pixelsX, pixelsY, PixelFormat.Format32bppPArgb);
|
||||
Graphics g = Graphics.FromImage(ret);
|
||||
if(renderOver is null)
|
||||
g.Clear(Color.White);
|
||||
@ -152,7 +152,7 @@ public static class Renderer
|
||||
int pixelsX = (int)(lonDiff * scaleFactor);
|
||||
int pixelsY = (int)(latDiff * scaleFactor);
|
||||
|
||||
Image ret = renderOver ?? new Bitmap(pixelsX, pixelsY, PixelFormat.Format32bppRgb);
|
||||
Image ret = renderOver ?? new Bitmap(pixelsX, pixelsY, PixelFormat.Format32bppPArgb);
|
||||
Graphics g = Graphics.FromImage(ret);
|
||||
if(renderOver is null)
|
||||
g.Clear(Color.White);
|
||||
|
Loading…
Reference in New Issue
Block a user