Pixel Cache association with a X window?
Posted: 2009-09-04T13:16:36-07:00
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 :
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!
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!