Inge Henriksen (inge++at++autosim.no)
Wed, 04 Jun 1997 15:40:51 +0200
-- Hello Simon Dimaio ------------------ I have earlier encountered the same problem with xwd, I have been told that the color-errors is because some X-windows are configured to 8-bit (bitplanes?), a more correct configuration would be a higher number of bit's. We also have our X-windows set to 8-bit on our V5.3 of Irix. The bit-number do not seem to have any effect on the actual number of viewed on-screen colors, but effects programs like xwd. This adds up to one way of solving your problem; to reconfigure the number of X-bitplanes(somehow). I did not do this, and rather used the "/usr/sbin/scrsave file x0 x1 y0 y1", where you can take a "snapshot" of the screen after your own specified coordinates. So a solution would be to figure out where your performer app. window is allocated on the screen, and then use "scrsave" to snapshot that portion of the screen. Use the "system(file)" command to execute a shell-command within your c-program.Greetings.
--------------------------- Inge Eivind Henriksen Autosim A/S P.B. 2303 N-9002 Tromsoe Norway Tlf.nr.: +(47) 77 67 50 75 Fax.nr.: +(47) 77 67 67 01 Mailto:inge++at++autosim.no ---------------------------- Word for thought: Joh.3:16-21 ---------------------------- ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com SGI DevForum 97 info: http://www.sgi.com/Forum97/
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:24 PDT