Saturday, May 30, 2009

Cut slice from the left side of picture

// Cut 50 pixels slice from the left side of picture

Bitmap bitmapName= new Bitmap(50, sth, PixelFormat.sth);
Graphics g = Graphics.FromImage(bitmapName);
g.DrawImageUnscaled(OriginalBitmap,....);
g.dispose();

No comments:

Post a Comment