Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!uc!uh.msc.umn.edu!wes From: wes@uh.msc.umn.edu (Wes Barris) Newsgroups: comp.graphics Subject: Re: Converting an image in a "raw" format to any standard one Message-ID: <2518@uc.msc.umn.edu> Date: 6 Sep 90 13:26:06 GMT References: <5715@quanta.eng.ohio-state.edu> Sender: news@uc.msc.umn.edu Reply-To: wes@msc.edu Distribution: usa Organization: Minnesota Supercomputer Center Lines: 21 In article <5715@quanta.eng.ohio-state.edu>, mzaik@kaa.eng.ohio-state.edu (Tahsin Mzaik) writes: > We have a scanner which produces images in "raw" format (i.e. > the image data is stored as a 2-dimenstional array of bytes with no > header). The question is how to converted to a standard form using > one of the toolkits such as PBMplus. I checked this toolkit but did > not find what I want. Any help. If your "raw" format means 8 bits per pixel, you can use "pgm/rawtopgm" from the PBMPLUS toolkit. The Utah Raster Toolkit (URT) also provides ways to do this. Check out either "rawtorle" or "graytorle". o o o o o o o . . . ________________________________ _____=======_____ o _____ |Wes Barris | | wes@msc.edu | .][__n_n_|DD[ ====_____ |Minnesota Supercomputer Center| |(612) 626-1854 | >(________|__|_[_________]_|University of Minnesota_______|_|_FAX:_624-6550_|_ _/oo OOOOO oo` ooo ooo 'o^o^o o^o^o` 'o^o o^o` -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- God helps them that help themselves. -- Benjamin Franklin