Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!purdue!bu-cs!att!mtuxo!mtgzz!drutx!druco!james From: james@druco.ATT.COM (James B. Davis) Newsgroups: comp.windows.x Subject: xwd - gen xy from color windows??? Keywords: is it possible/already done??? Message-ID: <4262@druco.ATT.COM> Date: 19 May 89 16:36:45 GMT Distribution: comp Organization: AT&T, Denver, CO Lines: 30 Is it possible (with mods) or has it already been done do use xwd to dump a color window into xy mode (as best as possible). This should be do-able - use the background as white (0's) and all other colors (1's) are the set bits. Has someone already added this to xwd or does someone have a conversion pgm. The reason I need this is to print window dumps to B/W postscript printers via xpr (which only likes xy). It may be nicer to mod xpr to take the z format and output color postscript (I would like this more but this is alittle beyond me for now). S/W: X11R3 - pchlvl 8 H/W: Sun 3/60FC w/SunOS 4.0.1 ----------------- James B. Davis (Jim), UNIX(tm) Systems Programmer UNIX Systems Support & Distributed Computing Group (Sun Support Team) AT&T Bell Laboratories 11900 North Pecos Street, 31G44 Denver, Colorado 80234 303/538-1647, Cornet 374-1647 Computing and Telecommunications Tech. Dept., Dept. XMRB50000 (DCTT) [sun|uunet|rice!uunet]!att!druco!james (or read the Email header!) UNIX is a registered TM of AT&T, UTS is a registered TM of Amdahl Corp. Everything else is a (TM) or (C) of whoever claims to own it. NOTE: My opinions are my own and not of my employer(s).