Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
howtos:window_managers:take_a_screenshot [2013/02/09 17:09 (UTC)] – [Imagemagick's ''import'' Command] hazel | howtos:window_managers:take_a_screenshot [2013/02/09 17:11 (UTC)] – [Imagemagick's ''import'' Command] hazel |
---|
| |
<note warning>There may be a bug or at least a glitch on some systems, as ''import -screen'' and ''import -window root'' may show "black boxes" overlaying the window that has been captured, which indicates that some other window(s) are getting on top of it before the capture takes place, even if you don't see it/them!\\ | <note warning>There may be a bug or at least a glitch on some systems, as ''import -screen'' and ''import -window root'' may show "black boxes" overlaying the window that has been captured, which indicates that some other window(s) are getting on top of it before the capture takes place, even if you don't see it/them!\\ |
I don't know what causes this behaviour, nor have found or really searched for an explanation yet. Nonetheless, it seems that the ''-frame'' switch works better, but it has the same limitations as ''-screen'' (you can't get overlaying windows content). You can also try to minimize all open windows.\\ If it doesn't help, use ''xwd'' for correct captures, or grab your hitchhiking guide and get on google.</note> | I don't know what causes this behaviour, nor have found or really searched for an explanation yet. Nonetheless, it seems that the ''-frame'' switch works better, but it has the same limitations as ''-screen'' (you can't get overlaying windows content). You can also try to minimize all open windows.\\ If that doesn't help, use ''xwd'' for correct captures, or grab your hitchhiking guide and get on google.</note> |
| |
The ''import'' command is part of the ImageMagick suite of tools. It works as ''xwd'' but doesn't need the ''convert'' program and use different options (switches). | The ''import'' command is part of the ImageMagick suite of tools. It works like ''xwd'' but doesn't need the ''convert'' program and uses different options (switches). |
| |
=== Capturing a window === | === Capturing a window === |
or | or |
import -frame path/to/screenshot.ext</code> | import -frame path/to/screenshot.ext</code> |
The ''-window root'' is equivalent to ''xwd'''s ''-root'' switch. It captures the whole desktop. The ''-frame'' option can be used to prevent black boxes as per the warning. | The ''-window root'' is equivalent to ''xwd'''s ''-root'' switch. It captures the whole desktop. The ''-frame'' option can be used to prevent black boxes as in the warning above. |
| |
==== Hints for Fullscreen Applications ==== | ==== Hints for Fullscreen Applications ==== |