Pixel Cache association with a X window?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Yeahahoohoo

Pixel Cache association with a X window?

Post by Yeahahoohoo »

Hello,
i'm discovering Magick++ and i was wondering if it's possible to do something like Pixel Cache but with an X window.
So this way i could directly access to the window without having to create an Image object thus having faster access.

this is an example of what i do now :

Code: Select all

Image myim;
myim.read("x:0x3c00021");
Pixels my_pixel_cache(myim);
But this is not really adapted to my needs.

What i'd like to do is just control some areas of a window and/or draw in it.

Else do you have some advice on how to do this (X programming, xlib, gdk,...)?

Thank you!
Post Reply