[Xcb] BitBlt like method?

Peter Harris pharris at opentext.com
Mon Nov 23 14:11:02 PST 2009


Nadeem Syed wrote:
>  > I still don't know what you're trying to do. Why are you trying to scan
>> for a specific color?
> 
> I just need to find a specific color in the handle (for example: an
> image opened in GIMP),

So, in this example, the "right" way to code your app would be as a GIMP
extension. Then you get access to the bits without having to go over the
wire. Better yet, you get unfettered access to the original bits (and
not the few resized/resampled/unoccluded bits that happen to be visible
at the moment).

>> Every bad thing I say about XCB's xcb_get_image goes double for Xlib's
>> XGetImage.
> 
> Thanks for clearing that

You're welcome.

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the Xcb mailing list