Page 1 of 1

Very Strange problem.....

PostPosted: Sep 10, 2003 @ 7:20am
by Maoz
Hi all,
Thanks for the help (previous submits).
I have this very strange problem,
follows a code i am using.

Pixel c = lockInfo.pixels[y * nPitch + x] ;
int blueval = c & BLUE_MASK;
lockInfo.pixels[y * nPitch + x] = Color(255,0,0);

When i scale the blue value with PhotoShop i get different values, at the third line the red point comes at the right place. So, that means i am extracting the right x,y i guess.

Any idea?
I made some copies for the bitmap with different bit depth, this hasn't worked out.

Thanks Maoz.

Very

PostPosted: Sep 11, 2003 @ 10:21am
by Maoz

PostPosted: Sep 11, 2003 @ 11:49am
by Conan