Click here to Skip to main content
15,310,301 members

Comments by ollienator (Top 2 by date)

ollienator 20-Apr-11 1:50am View
   
Deleted
yes, it's a division by 256.
try:

int av = uAlphaValue + 1;
int rem = 256 - av;

and >>8 on the added values.
ollienator 19-Apr-11 12:26pm View
   
Deleted
why not replace /255 with >>8 ?