Pixmaps - Xwindows
This is a discussion on Pixmaps - Xwindows ; I have a Pixmap and want to find the value of a pixel at an x,y location. What's a good way to do this?
Thanks
Paul...
-
Pixmaps
I have a Pixmap and want to find the value of a pixel at an x,y location. What's a good way to do this?
Thanks
Paul
-
Re: Pixmaps
On 2007-10-07, Paul Thompson wrote:
>
> I have a Pixmap and want to find the value of a pixel at an x,y
> location. What's a good way to do this?
You can use XGetImage, to get any rectangular region of a drawable
(including all of it, or a single pixel), as an XImage.
P.S. please make sure to wrap your text at 72 columns before posting.
--
John Tsiombikas (Nuclear / Mindlapse)
http://nuclear.sdf-eu.org/