Skip to content

Commit

Permalink
#132 use PixelFormat.Format32bppArgb
Browse files Browse the repository at this point in the history
  • Loading branch information
majorsilence committed May 25, 2016
1 parent eed0730 commit 9416ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibRdlCrossPlatformViewer/PageDrawing.cs
Expand Up @@ -210,7 +210,7 @@ private void ProcessPage(System.Drawing.Graphics g, IEnumerable p)

// TO: convert System.Drawing.Graphics to Xwt.Drawing.Context and draw it to this.g

Bitmap bm = new Bitmap(gImg.Width, gImg.Height );
Bitmap bm = new Bitmap(gImg.Width, gImg.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
g.DrawImage(bm, gImg.Width, gImg.Height);


Expand Down

0 comments on commit 9416ea9

Please sign in to comment.