N
Nathan
The bottleneck for a CF 2.0 application is constructing a Bitmap object
from a MemoryStream formed from a buffer of bytes.
It is about 40 milliseconds to load a jpeg from about 17k bytes. More
than the time it takes to render to another Bitmap.
Can this be done more efficiently?
CF 1.0, OpenNetCf had GraphicsEx and BitmapEx. It required writing the
bits to a temp file, which made it a wash in the old situation, but it
may have changed.
CF 2.0 and OpenNetCf 2 has completely different classes
What is the best way to go about this? If optimization is not possible
in this way, I could pursue other options, like rendering on a separate
thread, etc.
Nathan
from a MemoryStream formed from a buffer of bytes.
It is about 40 milliseconds to load a jpeg from about 17k bytes. More
than the time it takes to render to another Bitmap.
Can this be done more efficiently?
CF 1.0, OpenNetCf had GraphicsEx and BitmapEx. It required writing the
bits to a temp file, which made it a wash in the old situation, but it
may have changed.
CF 2.0 and OpenNetCf 2 has completely different classes
What is the best way to go about this? If optimization is not possible
in this way, I could pursue other options, like rendering on a separate
thread, etc.
Nathan