Article View: vmsnet.sources.d
Article #122Bug in PBMPLUS for VMS?
From: Per Steinar Iversen
Date: Thu, 19 Nov 1992 14:44
Date: Thu, 19 Nov 1992 14:44
36 lines
2090 bytes
2090 bytes
Is there a bug in PBMPLUS for VMS, as found on the VMSNET.SOURCES archives? After copying the saveset, unpacking the files and doing @SETUP I want to convert color PCX files to readable PBM files (I know that the color information is lost, that is actually useful in this application). On a Unix machines I can use something like "pcxtoppm file.pcx | ppmtopgm | pgmtopbm -threshold | pnmnoraw > file.pbm" The corresponding sequence under VMS should be "@p2b file", where p2b.com is: $! pcx -> ppm $ define/user sys$output 'p1'.ppm $ pcxtoppm 'p1'.pcx $! ppm -> pgm $ define/user sys$output 'p1'.pgm $ ppmtopgm 'p1'.ppm $! pgm -> pbm $ define/user sys$output 'p1'.pbm_raw $ pgmtopbm -threshold 'p1'.pgm $! pbm -> pbm (ASCII) $ define/user sys$output 'p1'.pbm $ pnmnoraw 'p1'.pbm_raw The first step works fine, but then the ppmtopgm step breaks down and I get a file with 3 lines of header and no data... What am I doing wrong? -psi +------------------------------------------------------------------------------+ ! Per Steinar Iversen ! Internet: iversen@vsfys1.fi.uib.no ! ! Fysisk Institutt ! BITnet: iversen@cernvm.bitnet ! ! Universitetet i Bergen ! HEPnet: VSFYS::IVERSEN (VSFYS=21.341=21845) ! ! Allegaten 55 ! Phone: +47 5212770 ! ! N-5007 Bergen ! Fax: +47 5318334 ! ! NORWAY ! ! +------------------------------------------------------------------------------+
Technical Details
Message-ID:
<1992Nov19.144430.19234@alf.uib.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!dsfys1.fi.uib.no!iversenShow Full Headers
Complete Article Headers
Newsgroups: vmsnet.sources.d Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!dsfys1.fi.uib.no!iversen From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen) Subject: Bug in PBMPLUS for VMS? Message-ID: <1992Nov19.144430.19234@alf.uib.no> Lines: 36 Sender: iversen@vsfys1.fi.uib.no (Per Steinar Iversen) Reply-To: iversen@vsfys1.fi.uib.no Organization: Department of Physics, University of Bergen, Norway Date: Thu, 19 Nov 92 14:44:30 GMT Lines: 36