Path: utzoo!attcan!uunet!steinmetz!vdsvax!montnaro From: montnaro@sprite.steinmetz.ge.com (Skip Montanaro) Newsgroups: comp.windows.news Subject: Re: How to convert a NeWS image (.im1) to X bitmap format? Message-ID: Date: 18 Dec 88 20:41:02 GMT References: <881216-132153-4543@Xerox> Sender: news@vdsvax.steinmetz.ge.com Reply-To: (Skip Montanaro) Organization: GE Corporate Research & Development Lines: 19 In-reply-to: "Michael_Powers.Henr801M"@XEROX.COM's message of 17 Dec 88 05:53:29 GMT In article <881216-132153-4543@Xerox> "Michael_Powers.Henr801M"@XEROX.COM writes: I am looking for a way to snap a region from the NeWS screen and then convert the image to an X bitmap file. These would probably be done in separate steps. Perhaps there is already a utility for snapping part of the screen and dumping it as an .im8 or .im1 file. And if I'm lucky someone else has created a way to convert these file formats to the X bitmap format. Try Jef Poskanzer's pbm (portable bitmap) package, available from your nearest comp.sources.unix archive, I believe. It has Sun raster file to pbm and pbm to X bitmap filters, plus cropping filters, so you can just capture the screen with screendump: screendump | rasttopbm | pbmcut x y wid ht | pbmtoxbm -- Skip Montanaro (montanaro@sprite.steinmetz.ge.com, montanaro@ge-crd.arpa)