Hello, I wrote a function which takes 3 bitmaps as parimeters and blends the first 2 putting the result into the third. To do so I read the rgb value from each pixel of each image, add em up and divide by 2. It works pretty well but it sure is slow, I timed it at 320x200x32 and it was like 4 blends per second. I use getpixel to get the r g b values. Is there a faster way to do this, I use allegro and djgpp.
thanks