Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

Commit

Permalink
WZ2NX: Remove some leftover debug code.
Browse files Browse the repository at this point in the history
Whoops.

Signed-off-by: angelsl <hidingfromhidden@gmail.com>
  • Loading branch information
angelsl committed Jul 1, 2012
1 parent b53d50f commit 203f8df
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Program.cs
Expand Up @@ -117,16 +117,6 @@ public void AddUOL(WZUOLProperty node, long currentPosition)

private static void Main(string[] args)
{
Bitmap b = new Bitmap(100, 100, PixelFormat.Format32bppArgb);
Graphics g = Graphics.FromImage(b);
g.FillRectangle(new SolidBrush(Color.FromArgb(0xFF, 0x7F, 0x3F, 0x1F)), 0,0,100,100);
g.Dispose();
//BitmapData bd = b.LockBits(new Rectangle(0, 0, b.Width, b.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
//byte[] pix = new byte[bd.Stride * bd.Height];
//Marshal.Copy(bd.Scan0, pix, 0, pix.Length);
//b.UnlockBits(bd);
File.WriteAllBytes(@"D:\img.daz", GetCompressedBitmap(b));
return;
#region Option parsing

string inWz = null, outPath = null;
Expand Down

0 comments on commit 203f8df

Please sign in to comment.