[Magick-bugs] import -frame doesn't get the window contents

duc.sequere.aut.de.via.decede at imagemagick.org duc.sequere.aut.de.via.decede at imagemagick.org
Tue Jul 14 11:15:44 PDT 2009


> I often end up with a png that includes a layer
> offset

Try

  import +repage -screen -frame screen.png

> Sometimes it shows portions of the window
> as black

The import program asks the X11 server for the pixels inside a window.  In
some cases these pixels may not be defined to X11, for example, OpenGL uses
X11 to define a window but bypasses X11 when it renders the pixels inside the
Window.  However, if you use the xwd program and it saves the window pixels
properly and the import program does not it could very well be a bug in the
import program.


More information about the Magick-bugs mailing list