Newsgroups: sci.image.processing
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!hookup!uwm.edu!cs.utexas.edu!swrinde!pipex!sunic!sics.se!roland
From: roland@sics.se (Roland Karlsson)
Subject: Re: raw image viewer
In-Reply-To: techsupt@vysor.synapse.net's message of Mon, 30 Jan 1995 03:34:24 LOCAL
Message-ID: <ROLAND.95Jan31115917@zith.sics.se>
Sender: news@sics.se (Dr News)
Organization: Swedish Institute of Computer Science, Kista
References: <5S1YyTR.robertneal@delphi.com> <techsupt.65.0032DC3A@vysor.synapse.net>
Date: Tue, 31 Jan 1995 10:59:16 GMT
Lines: 22


In unix you can simply do ...

  ( echo P5 ; echo $xsize $ysize ; echo 255 ; cat $file ) | xv -

... to view a raw 8-bit as a pgm file using xv.

No Windows application is needed here.  But if you really want to use
an application then you can use ...

    rawtopgm $xsize $ysize $file | xv -

... but then yoy will need the PBM package.


Roland
--
-----------------------------------------------------------------------------
Roland Karlsson          Inet: roland@sics.se   Telex:    812 6154 7011 SICS
SICS, PO Box 1263,       Tel: +46 8 752 15 40   Ttx: 2401-812 6154 7011=SICS
S-164 28 KISTA, SWEDEN   Fax: +46 8 751 72 30   http://www.sics.se/~roland/
-----------------------------------------------------------------------------
