@hellfire:
also when having 400x400 and want to scale down to 100x100 for eaxmple, i have to do following, right?
A B C D x x x x x x
E F G H x x x x x x
I J K L x x x x x x
M N O P x x x x x x
x x x x x x x x x x
x x x x x x x x x x
each char is representing one pixel (RGB)... to resize it down with something like AA, the math would be...:
newpixel = (( A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + P ) / 16 )
Btw, i think i have to do this for each R G B channel ^^
Instead using Div16 i could speed it up by using shift >>4... Wonder if this would be really be fast enought... i will try this out...