Menge Posted August 3, 2003 Posted August 3, 2003 hello i'm making a program and i need to have a bitmap out of a scan0 line from another bitmap (not really another bitmap - but a Microsoft.DirectX.Direct3D.GraphicsStream object). i know there is this constructor: new Bitmap(this.Width, this.Height, this.Width*4, System.Drawing.Imaging.PixelFormat.Format32bppArgb, Image.InternalData); but it takes a while to read and copy the data from the Image.InternalData pointer. my question is: is there a way to alter the destination bitmap object scan0 pointer to be the same as the Image.InternalData pointer? because i need speed on this one. and i need a copy Quote Menge
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.