Quote:
Originally Posted by alfcen
Actually, fading two images on an Image
control is yet faster than fading on a form
|
I'd sort of expect that as a Form does extra things when assigned a bitmap in order to be able to redraw it.
Quote:
Image sizes are 640 x 480px.
The device, an iPAQ h2210, runs Pocket PC 2003.
|
Doing fast graphics on a screen that size is a bit ambitious for the processing power of a PPC. Unfortunately I can't speed it up any more and still write in C# as I've optimised it as much as I can. The code that does the work looks like
Code:
*pixel3++ = (byte)((*pixel1++ * oldpercent + *pixel2++ * newpercent) / 100);
and I can't get it any simpler than that
