C
Cesar Ronchese
Hey!
I'm printing some stuff in a memory-created bitmap (format
Imaging.PixelFormat.Format16bppRgb565) 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.PixelFormat.Format16bppRgb565)
g = Graphics.FromImage(mBmp)
(...)
e.Graphics.DrawImage(mBmp, New Point(0, 0))
g.Dispose()
I'm printing some stuff in a memory-created bitmap (format
Imaging.PixelFormat.Format16bppRgb565) 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.PixelFormat.Format16bppRgb565)
g = Graphics.FromImage(mBmp)
(...)
e.Graphics.DrawImage(mBmp, New Point(0, 0))
g.Dispose()