🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6150

X11 window dumps to postscript

#6150
From: Ray Roux
Date: Wed, 29 May 1991 18:02
19 lines
1179 bytes
I'm looking for a way of producing encapsulated postscript from an X11
screen dump.  I have some windows that I want to get a snap shot of and
include them in a LaTeX document.  I tried the following sequence with
limited success:
	xwd | xwdtoppm | ppmtopgm | pgmtops > file.ps

The problem here is that the window trim is removed and that the
bounding box isn't correct if I use the scale option of pgmtops.  I've
heard there is another set of bit manipulation routines (Fuzzy Bitmap
Manipulation FBM) but haven't been able to locate it.

Are there any other ways to get window dumps into EPS?

Thanks,
	Ray Roux
	rroux@betelgeuse.sdd.trw.com

  Ray Roux
    rroux@rigel.sdd.trw.com
Technical Details
Message-ID: <2843ECBE.1486@deneva.sdd.trw.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!aero-c!gumby.dsd.trw.com!deneva!betelgeuse.sdd.trw.com!rroux

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!aero-c!gumby.dsd.trw.com!deneva!betelgeuse.sdd.trw.com!rroux
From: rroux@betelgeuse.sdd.trw.com (Ray Roux)
Newsgroups: comp.lang.postscript
Subject: X11 window dumps to postscript
Message-ID: <2843ECBE.1486@deneva.sdd.trw.com>
Date: 29 May 91 18:02:38 GMT
Sender: news@deneva.sdd.trw.com
Reply-To: rroux@betelgeuse.sdd.trw.com (Ray Roux)
Distribution: usa
Organization: TRW Inc., Redondo Beach, CA
Lines: 19