This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Very Strange problem.....


Very Strange problem.....

Postby Maoz » Sep 10, 2003 @ 7:20am

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.
Maoz
 


Very

Postby Maoz » Sep 11, 2003 @ 10:21am

Maoz
 


Postby Conan » Sep 11, 2003 @ 11:49am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron