import with compiz: glitches

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
legluondunet

import with compiz: glitches

Post by legluondunet »

Hello,

I have still problem with the "import" command on a compiz desktop.
Pictures are saying more than words:

screenshot with "import -window root capture2.png"
Image

screenshot with gnome-screenshot, look at the windows border and transparency:
Image

and sometimes import command crash compiz.

Someone with the same problem? A solution?

I'm using imagemagick for ubuntu 8.10 intrepid
graphic card: nvidia

Thanks.

LGDN.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: import with compiz: glitches

Post by anthony »

While I do not know the internals of compbiz and nvidia display handling, I can make a educated guess at what is going on.

Imagemagick grabs the display in a low level frame buffer way, but compbiz and nvidia is most likely using multi-level alpha composited display handling whcih is not simple at all. The only reason gnome-screenshot works is that it is likely asking compbiz itself to generate (and composite) the layered display into the screen shot file.

More than likely you will find that the xwd program also has problems with such displays, and that program is from the Xorg programmers.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply