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);
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!