[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 13-JUL-1990 05:20:13.10  To:	MRGATE::"ARISIA::EVERHART" CC:	- Subj:	Re: Mail server for VMS port of PBMPLUS   * Received:  by crdgw1.ge.com (5.57/GE 1.70)) 	 id AA09290; Fri, 13 Jul 90 04:46:33 EDT Y Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Thu, 12 JUL 90 15:15:57 PDT , Received: by ucbvax.Berkeley.EDU (5.63/1.41)* 	id AA21807; Thu, 12 Jul 90 15:05:37 -07009 Received: from USENET by ucbvax.Berkeley.EDU with netnews . 	for info-vax@kl.sri.com (info-vax@kl.sri.com); 	(contact usenet@ucbvax.Berkeley.EDU if you have questions)  Date: 12 Jul 90 15:19:12 GMTb From: swrinde!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!tp@ucsd.edu8 Organization: The McCall Pattern Co., Manhattan, KS, USA0 Subject: Re: Mail server for VMS port of PBMPLUS& Message-Id: <3113.269c94f0@mccall.com>: References: <3061.26933e04@mccall.com>, <435@fryeten.uucp># Sender: info-vax-request@kl.sri.com  To: info-vax@kl.sri.com   N In article <435@fryeten.uucp>, doug@fryeten.uucp (FRONT OFFICE VERMIN) writes:( > Can someone summarize what PBMPLUS is?  @ Here is the descriptive part of the README file, followed by the) interesting parts of the README.VMS file.    ----------- README.   2                   Extended Portable Bitmap Toolkit-                       Distribution of 22nov89 0                    Previous distribution 13sep89.                       Modified for VMS 19jun90    F Included are a number of programs for converting various image formatsB to and from portable formats; plus some tools for manipulating theG portable formats.  The package is broken up into four parts (five parts F if you count this one, the zeroth part).  First is PBM, for bitmaps (1G bit per pixel).  Then there is PGM, for grayscale images.  Next is PPM, J for full-color images.  Last, there is PNM, which does content-independent* manipulations on any of the three formats.  C These parts are semi-independent; if you're only going to deal with F bitmaps, you don't have to install PGM and PPM, and this makes PNM runD faster; if you want PGM, you must install PBM but can leave PPM out;? but if you want PPM, you must install both PGM and PBM.  PNM is  optional but recommended.     7 To install:      (For VMS installation, see README.VMS)  [omitted -- tp]      Jef Poskanzer      jef@well.sf.ca.us :     {ucbvax, lll-crg, sun!pacbell, apple, hplabs}!well!jef  2 Files [I've just listed the actual programs -- tp]  @     brushtopbm.c	convert Xerox doodle brushes to portable bitmapE     cmuwmtopbm.c	convert CMU window manager format to portable bitmap 5     g3topbm.c		convert Group 3 FAX to portable bitmap 4     icontopbm.c		convert Sun icon to portable bitmap:     gemtopbm.c		convert GEM .img format to portable bitmap4     macptopbm.c		convert MacPaint to portable bitmap5     mgrtopbm.c		convert MGR format to portable bitmap ?     pcxtopbm.c		convert PC paintbrush format to portable bitmap 0     picttopbm.c		convert PICT to portable bitmap6     rasttopbm.c		convert Sun raster to portable bitmap<     xbmtopbm.c		convert X10 or X11 bitmap to portable bitmapA     xwdtopbm.c		convert X10 or X11 window dump to portable bitmap   >     pbmtoascii.c	convert portable bitmap to ASCII graphic formA     pbmtobbnbg.c	convert portable bitmap to BBN BitGraph graphics E     pbmtocmuwm.c	convert portable bitmap to CMU window manager format 5     pbmtog3.c		convert portable bitmap to Group 3 FAX :     pbmtogo.c		convert portable bitmap to GraphOn graphics4     pbmtoicon.c		convert portable bitmap to Sun icon5     pbmtolj.c		convert portable bitmap to HP LaserJet 4     pbmtomacp.c		convert portable bitmap to MacPaint5     pbmtomgr.c		convert portable bitmap to MGR format 5     pbmtoptx.c		convert portable bitmap to Printronix 6     pbmtorast.c		convert portable bitmap to Sun raster5     pbmtoxbm.c		convert portable bitmap to X11 bitmap 6     pbmtox10bm.c	convert portable bitmap to X10 bitmap:     pbmtoxwd.c		convert portable bitmap to X11 window dump  @     pbmlife.c		apply Conway's rules of Life to a portable bitmap8     pbmmake.c		create a blank bitmap of a specified size9     pbmmask.c		create a mask bitmap from a regular bitmap 8     pbmpaste.c		paste a rectangle into a portable bitmapH     pbmreduce.c		reduce a portable bitmap N times, using Floyd-Steinberg4     pbmupc.c		create a Universal Product Code bitmap  8     fitstopgm.c		convert FITS format to portable graymap@     fstopgm.c		convert Usenix FaceSaver file to portable graymap8     hipstopgm.c		convert HIPS format to portable graymapD     psidtopgm.c		convert PostScript "image" data to portable graymap?     rawtopgm.c		convert raw grayscale bytes to portable graymap 8     tifftopgm.c		convert TIFF format to portable graymap  8     pgmtofits.c		convert portable graymap to FITS format;     pgmtopbm.c		convert portable graymap to portable bitmap B     pgmtops.c		convert portable graymap to Encapsulated PostScript  0     pgmenhance.c	edge-enhance a portable graymapD     pgmhist.c		print a histogram of the values in a portable graymap7     pgmnorm.c		normalize contrast in a portable graymap   .     giftoppm.c		convert GIF to portable pixmap:     ilbmtoppm.c		convert Amiga IFF ILBM to portable pixmap6     imgtoppm.c		convert Img-whatnot to portable pixmap@     mtvtoppm.c		convert MTV ray-tracer output to portable pixmap@     qrttoppm.c		convert QRT ray-tracer output to portable pixmap;     rasttoppm.c		convert Sun raster file to portable pixmap @     tgatoppm.c		convert TrueVision Targa file to portable pixmapG     xwdtoppm.c		convert color X10 or X11 window dump to portable pixmap   .     ppmtogif.c		convert portable pixmap to GIF:     ppmtoilbm.c		convert portable pixmap to Amiga IFF ILBM;     ppmtopgm.c		convert portable pixmap to portable graymap G     ppmtops.c		convert portable pixmap to color Encapsulated PostScript ;     ppmtorast.c		convert portable pixmap to Sun raster file @     ppmtoxwd.c		convert portable pixmap to color X11 window dump  :     ppmarith.c		perform arithmetic on two portable pixmaps=     ppmconvol.c		general MxN convolution on a portable pixmap 6     ppmcscale.c		scale the colors in a portable pixmap$     ppmpat.c		create a pretty pixmap:     ppmquant.c		quantize colors down to a specified number)     ppmrotate.c		rotate a portable pixmap '     ppmscale.c		scale a portable pixmap '     ppmshear.c		shear a portable pixmap 5     ppmhist.c		print a histogram of a portable pixmap   *     pnmcat.c		concatenate portable anymapsB     pnmcrop.c		crop all like-colored borders off a portable anymap@     pnmcut.c		select a rectangular region from a portable anymap2     pnmenlarge.c	enlarge a portable anymap N timesG     pnmflip.c		perform one or more flip operations on a portable anymap )     pnminvert.c		invert a portable anymap 8     pnmpaste.c		paste a rectangle into a portable anymap@     pnmtile.c		replicate a portable anymap into a specified size   ----------- README.VMS0 Some notes on the VMS implementation of PBMPLUS.  D Building it: [omitted, suffice to say that mms is supported, but not               required -- tp]    Defining the command symbols:   I     A command procedure is provided to define symbols for all the PBMPLUS D     commands. Be sure that the SYMBOLS.COM file is in the top of theE     directory tree containing the executables, and just execute it by            @dev:[dir]symbols   D     using the appropriate device and directory. It will find all theA     exectutables in the tree and define them as foreign commands.    Documentation:  I     I can't help you much here. The unix man pages are included (they are J     the files *.1, *.3, and *.5). I don't have an automatic way to convertH     these to anything useful on VMS, and am not about to do it manually.J     You'll just have to read around the formatting commands, same as I do.   Using the commands:   K     These utilities are made to be used together. The VMS port supports the C     normal unix piping and file redirection. Briefly, this works as      follows:  <         command1 inputfile | command2 | command3 >outputfile  K     What the above means is run command1 using inputfile as input (assuming-H     that the command takes a filename argument). Make the output of thisK     command the input of command2. Make the output of command2 the input of F     command3. Send the output of command3 to outputfile. Note that theI     utilities don't have filename arguments for output files, so you haveDH     to use the > construct to store the output in a file. As an example,K     say you want to convert a macpaint image to an X11 bitmap. Furthermore, G     you want to remove any constant color borders from the image in the.)     process. This can be done as follows:   :         macptopbm image.mac |pnmcrop | pbmtoxbm >image.xbm  K     Note that all the commands run simultaneously, with all after the first D     being run in subprocesses. Be sure your subprocess quota is highF     enough. Of course, you can always use intermediate files. However,G     don't try to use the same filename as both input and output. RatherkI     than creating a new version, it will attempt to use the same file and@:     fail. Without subprocesses, the above command would be  &         macptopbm image.mac >image.pbm%         pnmcrop image.pbm >image2.pbmo&         pbmtoxbm image2.pbm >image.xbm         delete image*.pbm;*   J     A command or multi-command pipeline can be run entirely in one or moreI     subprocesses by putting a "&" at the end of the line (with a space in1     front of it).    What has been tested:S  K     fstopgm, giftoppm, macptopbm, pbmmake, pbmtomacp, pbmtoxbm, pgmenhance,rI     pgmhist, pgmnorm, pgmtopbm, pnmcrop, pnmenlarge, pnmunraw, ppmconvol,o5     ppmscale, ppmtogif, ppmtopgm, tgatoppm, xbmtopbm.t  K     I only have monocrome and 4-plane grayscale systems, so I couldn't testmD     any of the actual color operations, which is why most of the ppmD     programs haven't been tested. I also don't have most of the data7     formats supported and couldn't test the converters.t  G     Since I didn't have to make ANY program specific changes, I suspect H     most of it works. All changes were include files, other than dealingI     with include files VMS doesn't support, and adding the getredirectiony9     call to each program to handle pipes and redirection.p   Known bugs:m  H     There is only one at this time. I tried to convert a Targa file to aE     GIF file. The Targa file had more than 256 colors. I tried to uselG     ppmquant to reduce it to 256 colors, but it aborted with an integerhI     divide by zero. Converting to pgm format and then to gif worked, so IoG     don't think there is any problem with the Targa format per se, justo
     ppmquant.    -- oD Terry Poot <tp@mccall.com>                The McCall Pattern Company9 (uucp: ...!rutgers!ksuvax1!mccall!tp)     615 McCall Road B (800)255-2762, in KS (913)776-4041        Manhattan, KS 66502, USA  