Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
hwttdz
Posts: 22 Joined: 2010-08-29T05:29:08-07:00
Authentication code: 8675308
Post
by hwttdz » 2011-10-16T11:36:17-07:00
I'm trying to use import to capture a screenshot. Namely as:
import -descend -window root screenshot.jpg
but I get annoying black boxes around all my system tray icons, any thoughts?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2011-10-16T12:39:41-07:00
perhaps because jpg does not support transparency. does your image you are trying to capture have transparency?
hwttdz
Posts: 22 Joined: 2010-08-29T05:29:08-07:00
Authentication code: 8675308
Post
by hwttdz » 2011-10-16T13:08:27-07:00
Doesn't work in png either. Tried a few flags and wasn't able to make any progress. scrot seems to be a working replacement for the time being.
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Post
by anthony » 2011-10-16T19:20:00-07:00
More than likely it is exactly what the X window system is actually returning to the IM program.
Do you have 3-D graphics acceleration being used?
It may also be caused by the X window server using fancy composition layering.