How does import capture obscured windows?
Posted: 2010-12-15T05:40:55-07:00
Hi,
I'm running up-to-date Ubuntu with up-to-date ImageMagick and I have noticed that the import tool is able to capture a window that is partially or completely obscured by another window. In other words - the window I'm capturing needn't to be the topmost window. My question is - how does it do that?
xwd tool is unable to produce the same effect and while looking into the import source code, I wasn't able to identify the idea behind this. I would greatly appreciate any help. Does it rely on XComposite extension somehow or is there a way to achieve such result in "bare" X?
Thank you!
I'm running up-to-date Ubuntu with up-to-date ImageMagick and I have noticed that the import tool is able to capture a window that is partially or completely obscured by another window. In other words - the window I'm capturing needn't to be the topmost window. My question is - how does it do that?

xwd tool is unable to produce the same effect and while looking into the import source code, I wasn't able to identify the idea behind this. I would greatly appreciate any help. Does it rely on XComposite extension somehow or is there a way to achieve such result in "bare" X?
Thank you!