Page 1 of 1

screen capture with import -display

Posted: 2012-10-20T09:44:34-07:00
by Baldhead
Hello Magick-ians,

I've registered on this forum as I'm struggling with a screencapture script:
Weird thing is actually that one of my pc's it is working as expected and on another pc is doesn't
Both pc's are running ubuntu 12.04...

This is the script:
/usr/bin/import -display :0 -win root -resize 800 /home/baldy/temp/capture.png

Result from the script that doesn't work: it returns an almost complete black image, but the titlebar is captured! So we have a the top of the image the name of the application which is currently running, but everything underneath is black.

I really don't have an idea what could be wrong, i hope there are some people on the list who are able to help me out ...

Thanks in advance,
Baldy

Re: screen capture with import -display

Posted: 2012-12-04T17:16:13-07:00
by anthony
Not everything is in X window frame buffers, or in a form the X window server uses. Some 3D graphics for example, or Video images.

Basically with modern hardware and graphic cards, screen capture can be a real hit-or-miss affair.