Issue with black frames around system tray icons on import

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?".
Post Reply
hwttdz
Posts: 22
Joined: 2010-08-29T05:29:08-07:00
Authentication code: 8675308

Issue with black frames around system tray icons on import

Post by hwttdz »

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?

Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with black frames around system tray icons on impo

Post by fmw42 »

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

Re: Issue with black frames around system tray icons on impo

Post by hwttdz »

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.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Issue with black frames around system tray icons on impo

Post by anthony »

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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply