I want to find out all pixels which are white color in a bitmap,and change their color to 0x00ff00ff.I use these codes as below,but I still cant change their color.I dont konw why.
TUint32* piaddress = iBitmaptest->DataAddress();
TSize tsize = iBitmaptest->SizeInPixels();
every time after inner loop:
my position stays in the first pixel in the line.but in the inner loop
i use "bitmaptestutil.IncXPos();"so the position move from the first
pixel to the end in the line.
otherwise,do you know how to get the pixel color and change the color,you can use any solution.
my mistake, didn't notice that line... anyway I used very similar code in one of my apps and it worked as it should. Basically I was using the Set pos for each pixel, but I quess the inc should work as well.