elie@sensors.njit.edu (Elie I. Mourad) (03/06/91)
I am trying to get outputs of ximage & imagetool to a B&W postscript printer. Any ideas ? Thanks, Elie. -- ________ ________________________________/--------\______________________________________ Elie I. Mourad elie@sensors.njit.edu Dept. ECE/Opto-Electronics Work: (201)596-3559 New Jersey Institute of Technology Home: (201)997-8532 University Heights Work FAX: (201)596-6513 Newark, NJ 07102 Home FAX: (201)955-1304 Office: 412T - Sensors Lab ________________________________ ______________________________________ \________/
andreess@mrlaxs.mrl.uiuc.edu (Marc Andreessen) (03/07/91)
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
buck@nrl-cmf.UUCP (Loren Buchanan) (03/07/91)
In article <1991Mar6.230917.21438@ux1.cso.uiuc.edu> andreess@mrlaxs.mrl.uiuc.edu (Marc Andreessen) writes: >I am trying to get outputs of ximage & imagetool to a B&W postscript printer. >Any ideas ? Hdftops version 1.2 is available via anonymous ftp from ra.nrl.navy.mil (cd to rcd). The first real release won't be until I get version 2.0 done (but people around here wanted something quickly). If you have a Sun SPARC hdftops.sun is already to go, or if you have a IRIS 4D grab hdftops.sgi (remember to use binary). Now for the bad news, the output of the hdftops is intended for a color PostScript printer if the HDF image is 24 bit or 8 bit with a palette. The good news is if you send the PostScript to a device that does not understand the colorimage operator it will convert it to B&W (uses the standard NTSC intensity conversion). Plans for version 2.0 include attempts to improve the transmission time, multiple images on a single output page, text annotation, conversion of color images to B&W, and support of reduced bits output. Also of interest to you HDF fans is our hdftoddc and iristohdf programs. The first creates a ddc file for our Dicomed film recorder, and the second converts an IRIS rgb image to HDF. All weasel words about liability is limited to the purchase price, etc. apply. Enjoy & B Cing U Buck