From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,fe678cd9aa566ecc X-Google-Attributes: gid1164f8,public From: Ron Natalie Subject: Re: XGetImage don't work well on ZLXP-E2 !! Date: 1996/09/11 Message-ID: <3236E139.5E88@sensor.com>#1/1 X-Deja-AN: 179952813 references: <3236BB34.167E@assw01.atlas.de> content-type: text/plain; charset=us-ascii organization: Sensor Systems mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 2.01 (X11; I; HP-UX A.09.05 9000/755) Oliver Fuehrer wrote: > > A dump of the entire screen with the tools XV, Xgrap or Xwd (which all > use XGetImage) dont't work well, if there are different window-types on > the screen (root-window). > By different window types, I presume you mean different visuals. Yes, XGetImage on the root window won't pick up all of these. It's purely coincidence that these screen captures work at all because XGetImage doesn't guarantee (as you have seen) one way or another as to what you will get back for parts of the window that are obscured by other windows. While frequently you get back the data from the obsucuring window, you could just as well get nothing, or the contents of the root window at that point. There really isn't a true full screen dump program that I am aware of for X. It would need to XGetImage each window and figure out the stacking and edit them into a single image. -Ron