diff -r df50d7cb4dd0 -r ee1305f3a6bf src/test.cpp --- a/src/test.cpp Sat May 24 09:24:40 2014 +0200 +++ b/src/test.cpp Tue May 27 17:49:33 2014 +0200 @@ -797,7 +797,11 @@ for (int j=0;jgetPixel(i,j); - if (color!=0xffffffff) + int green=FXGREENVAL(color); + int red=FXREDVAL(color); + int blue=FXBLUEVAL(color); + if ((green+red+blue)/3<220) + //if (color!=0xffffffff) { iPixelBuffer->SetBit(i*h+j); }