int int_Width =512; int int_Height =64 ; //Create the buffered image with the correct size Bitmap bImage = new Bitmap(int_Width, int_Height, b.PixelFormat); //Get the graphics of the buffered image Graphics g = Graphics.FromImage(bImage); MemoryStream ms = new MemoryStream(); finalImage.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp); byte[] ary = ms.ToArray();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)