[PD] get screen pixel?

Mathieu Bouchard matju at sympatico.ca
Fri Nov 22 17:23:26 CET 2002


On Thu, 21 Nov 2002, wwcarpen wrote:

> hey, i was just wondering if it would be possible to write some sort
> of external that could ask what pixel is what color on the screen
> currently. this would be a good backwards way of getting other
> software to interact with pd.  i already have a couple expiriments in
> mind.

In GridFlow there's code for doing screen/window captures. It's sort of
integrated though, and designed for grabbing whole pictures and not
individual pixels. However that sort of trick always revolves around
the XGetImage() function. I assume you're using Linux or such.

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju





More information about the Pd-list mailing list