in reply to Alternate for GetPixel

I saw ( can't remember where) a little c utility that did precisely that. You might google for it. It did a global_grab of the desktop, and made the mouse an eye-drop icon, then let you click on a pixel. For code, look at any screen capture program, and figure out the mouse bindings needed to get pixel value at that position. The screen capture is already capturing all pixels, so printing them out shouldn't be too hard. GD, Imager and ImageMagick all have some mechanism to dump ALL pixels, or pixels at a known point.

I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness

Replies are listed 'Best First'.
Re^2: Alternate for GetPixel
by michbach (Sexton) on Mar 08, 2009 at 17:26 UTC
    Hi zentara, thanks a lot for your help. If i have no success with Win32::GUI::DIBitmap i will google for the utility what u have sawn.. regards, michbach