Why won't `import` correctly capture the inside of a window rendered in OpenGL, while `scrot` will?

I have been experimenting with OpenGL recently, and I decided to take a screenshot of one of my fancy triangles with import, which is part of imagemagick. However, on two different computers, one running LXDE on an Intel processor with integrated graphics and the other using stock Ubuntu on an AMD Fusion processor, and the result was the same: scrot perfectly captures my entire screen, whereas import has problems with my OpenGL window but nothing else (by "problems", I either mean data from other windows showing up in the image, or the image showing the window as not displaying anything at all).

What is causing this? Why does scrot work perfectly fine with OpenGL, while import doesn't?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like