Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!mrlaxs.mrl.uiuc.edu!andreess From: andreess@mrlaxs.mrl.uiuc.edu (Marc Andreessen) Newsgroups: comp.graphics.visualization Subject: Re: HDF to Postscript ? (NCSA) Message-ID: <1991Mar6.230917.21438@ux1.cso.uiuc.edu> Date: 6 Mar 91 23:09:17 GMT References: <2527@njitgw.njit.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois, Urbana Lines: 16 In article <2527@njitgw.njit.edu> elie@sensors.njit.edu (Elie I. Mourad) writes: >I am trying to get outputs of ximage & imagetool to a B&W postscript printer. >Any ideas ? What I do (since I've been too lazy to write hdftoppm or the equivalent so far) is get an xwd dump of the image window, convert that to ppm, then to pgm, then to ps (with Jef Poskanzer's pbmplus package). Something like this: cat file.xwd | xwdtoppm | ppmtopgm | pgmtops >file.ps Marc -- Marc Andreessen___________University of Illinois Materials Research Laboratory Internet: andreessen@uimrl7.mrl.uiuc.edu____________Bitnet: andreessen@uiucmrl