Path: utzoo!attcan!uunet!wuarchive!brutus.cs.uiuc.edu!tut.cis.ohio-state.edu!bloom-beacon!gssc.UUCP!jdm From: jdm@gssc.UUCP (John D. Miller) Newsgroups: comp.windows.x Subject: Re: Dumping a color Window to PostScript Message-ID: <8908260014.AA08921@decwrl.dec.com> Date: 25 Aug 89 23:19:05 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 23 a better solution is to junk xpr and translate the X window dump into PostScript directly, using the PostScript "image" operator. PostScript images can be rendered in 1, 2, 4, or 8 bits, even on monochrome laserprinters (PostScript does the half-toning). this program, (call it "xpsimage" or some such) would need to convert from RGB to grayscale: i = (R * .30) + (G * .59) + (B * .11) see the PostScript "Red Book" for info on the "image" operator, or give me a call. -- jdm ps - if someone writes this utility, i'd like a copy. i'd do it myself, but i am way overcommited as it is. ...!{tektronix!verdix}!sequent!gssc!jdm John David Miller (503) 641-2200 Graphic Software Systems * This space intentionally * 9590 S.W. Gemini Dr. * left blank. * Beaverton, OR 97005