fixed issue #60

This commit is contained in:
Jaex 2014-02-26 19:10:08 +02:00
parent 98d22dd131
commit 6dd735be36

View file

@ -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))