Hey!
I'm printing some stuff in a memory-created bitmap (format
Imaging.PixelFo rmat.Format16bp pRgb565) and, at the end, copying the bitmap
to graphic device of my UserControl.
I noticed that method is not too fast to draw from my memory bitmap. In
medium, is taking 0.015 seconds to execute on a Pentium 2.26 GH, 512 RAM,
Windows 2K, with almost 1024x768 resolution area.
There are some advice concerning speed up it?
Cesar
Ps.: piece of code:
mBmp = New Bitmap(Me.Width , Me.Height,
Imaging.PixelFo rmat.Format16bp pRgb565)
g = Graphics.FromIm age(mBmp)
(...)
e.Graphics.Draw Image(mBmp, New Point(0, 0))
g.Dispose()
I'm printing some stuff in a memory-created bitmap (format
Imaging.PixelFo rmat.Format16bp pRgb565) and, at the end, copying the bitmap
to graphic device of my UserControl.
I noticed that method is not too fast to draw from my memory bitmap. In
medium, is taking 0.015 seconds to execute on a Pentium 2.26 GH, 512 RAM,
Windows 2K, with almost 1024x768 resolution area.
There are some advice concerning speed up it?
Cesar
Ps.: piece of code:
mBmp = New Bitmap(Me.Width , Me.Height,
Imaging.PixelFo rmat.Format16bp pRgb565)
g = Graphics.FromIm age(mBmp)
(...)
e.Graphics.Draw Image(mBmp, New Point(0, 0))
g.Dispose()
Comment