Re: Colour Window Dump

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.asd.sgi.com)
Wed, 4 Jun 1997 11:09:45 -0700


There's also the easy to use pfuSaveImage function.

On Jun 4, 3:40pm, Inge Henriksen wrote:
> Subject: Re: Colour Window Dump
> Simon Dimaio wrote:
> >
> > Hi
> >
> > Is there an easy way to dump a colour window to a file? I have used a
> > ..._TYPE_X window and have tried using "xwd" and "xv" to dump the window
> > containing my Performer simulation, but the colour map is not saved
> > correctly. (?)
> >
> > Thanks.
> >
> > Regards
> > Simon Dimaio
> >
> > =======================================================================
> > 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/
> --
> 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/
>-- End of excerpt from Inge Henriksen

=======================================================================
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/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:24 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.