[Magick-bugs] import -frame doesn't get the window contents
Akkana Peck
akkana at shallowsky.com
Thu Jul 30 14:46:24 PDT 2009
I asked about new problems with import a while ago:
> > Sometimes it shows portions of the window
> > as black
duc.sequere.aut.de.via.decede at imagemagick.org wrote:
> 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.
I'm still having this problem of black windows pretty often. It
fails on windows that aren't using opengl -- xterm windows, GIMP
windows and so forth, nothing fancy.
I see it frequently with
import -window root foo.jpg
import -screen -window root foo.jpg
import -window root -crop 1024x768+0+0 foo.jpg
import import +repage -screen -frame foo.jpg
I haven't found any combination of arguments that reliably shows
me the contents of windows.
I see it on the 6.4.5.4.dfsg that's in Ubuntu jaunty, and
in 6.5.3-10 built from source.
Any suggestions on what I can do to make this work? I find import
really convenient compared to other ways of making screenshots,
so I'd like to keep using it if I could find a way to make it work.
Is it working for other people, and it's just something weird about
the Jaunty X server? (I've seen it on several different machines.)
Thanks!
...Akkana
More information about the Magick-bugs
mailing list