home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!lll-winken!anduin!wiltzius
- From: wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius)
- Newsgroups: comp.sys.sgi
- Subject: "imgsnap" capability from application
- Message-ID: <141756@lll-winken.LLNL.GOV>
- Date: 17 Nov 92 18:40:16 GMT
- Sender: usenet@lll-winken.LLNL.GOV
- Distribution: usa
- Organization: Lawrence Livermore Nat'l Lab.
- Lines: 26
- Nntp-Posting-Host: anduin.ocf.llnl.gov
-
-
- I would like to capture all or portions of the screen display
- from an application and write this to a file that could later
- be displayed using, for example, "ipaste". In essence, I would
- like to have the "imgsnap" capability within the application but
- without the user interaction (hence forking a process to run
- imgsnap is not what I desire).
-
- I have everything working using a GLX window to cover the area
- to capture and lrectread to get the image. However, as soon as
- this GLX window is managed, the images that are not drawn in RGB
- have a strange color.
-
- I suspect I'm getting fouled up in the GL colormap vs the default
- X colormap.
-
- What to do? Some of the area under the aforementioned GLX window
- is was not drawn by the application (and hence does not necessarily
- share the same colormap). However, all non-RGB windows have the
- aforementioned problem.
-
- Thanks much.
- Dave Wiltzius
- Lawrence Livermore Nat'l Lab
- wiltzius@llnl.gov
-
-