I'm porting Borland's BGI to XWindows. To do so I'm using
another graphics library so I haven't had to do Xlib
programing so far. Unfortunately the library doesn't do any
getpixel stuff. I had to use XGetPixel together with XGetImage,
it's working fine but:
1) I can't figure out what the return value of XGetPixel is.
Manual says the value is in "the clients bit- and byte-order"
which I don't undersand.
2) It's terribly slow, after several XGetPixel calls my computer
(PC running Linux) slows down and eventually blocks with
processing the calls, sometimes stops with "no virtual memory"
message. There must be a way to make such simple things work
Please help, thank you in advance.