mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
fixed issue #60
This commit is contained in:
parent
98d22dd131
commit
6dd735be36
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ public static Image DrawCheckers(Image img)
|
|||
|
||||
public static Image DrawCheckers(Image img, int size, Color color1, Color color2)
|
||||
{
|
||||
Bitmap bmp = img.CreateEmptyBitmap();
|
||||
Bitmap bmp = img.CreateEmptyBitmap(PixelFormat.Format32bppArgb);
|
||||
|
||||
using (Graphics g = Graphics.FromImage(bmp))
|
||||
using (Image checker = CreateCheckers(size, color1, color2))
|
||||
|
|
Loading…
Reference in a new issue