screen capture with import -display
Posted: 2012-10-20T09:44:34-07:00
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
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