Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!porter!larryc From: larryc@porter.jpl.nasa.gov (Larry Carroll) Newsgroups: comp.windows.x Subject: Re: Problem Converting Mac PICT file to Portable Bitmap Message-ID: <10889@jpl-devvax.JPL.NASA.GOV> Date: 2 Jan 91 20:29:03 GMT References: <10860@jpl-devvax.JPL.NASA.GOV> <1990Dec28.160019.27612@alphalpha.com> Sender: news@jpl-devvax.JPL.NASA.GOV Organization: Jet Propulsion Lab, AEG/FIST Lines: 29 In article larryc@poe.jpl.nasa.gov (Larry Carroll) writes: > >I'm testing 'pbmplus' program 'picttopbm' & have a problem. Thanks for all the suggestions. For several reasons I won't go into (they relate to the specific task I've been given to do) I took the followng suggestion. I got the various files supporting 'picttoppm' & 'ppmtopict' from cayuga.cs.rochester.edu (in file pict-ppm.tar.Z) & added them to my pbmplus subdirectory 'ppm'. I added those two program names (and their respective 'man' file names) to the Imakefile in 'ppm' & reran xmkmf to create a new Makefile. Then I did a rebuild. I used PixelPaint on a Macintosh to create a new image file, by importing a ClipArt file in MacPaint format into a PixelPaint/PICT2 file & adding about 20 colors to various figures. I used Tops software to transfer the file to a Sun3 into the 'ppm' directory. (As a double-check I used Apple's file interchange program to copy the image file to a 5 1/4" diskette, took that to an IBM AT, and ftp'd the file to the Sun3. The 'diff' program showed no differences.) After running 'picttoppm' & 'ppmtoxwd' I used 'xwud' to display the X window dump version of the image file. Despite two warning messages from 'picttoppm' about two opcodes the program didn't handle, the resulting image seemed to be a faithful reproduction of the Macintosh image. (Out of curiosity, I used 'ppmtorast' & 'xloadimage' & got an apparently identical image on the Sun3.) Larry Carroll