Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!etlcom!michel From: michel@etl.go.jp (Michel Pasquier) Newsgroups: comp.sys.mac.misc Subject: Re: Changing "Document" files to MacPaint Message-ID: <46734@etlcom.etl.go.jp> Date: 14 Sep 90 08:15:23 GMT References: <26380004@hpisod2.HP.COM> Reply-To: michel@etl.go.jp (Michel Pasquier) Organization: Electrotechnical Laboratory, Tsukuba Science City Lines: 41 In article <26380004@hpisod2.HP.COM> jem@hpisod2.HP.COM (Jim McCauley) writes: > >I have generated some images on an HP-UX (UN*X) system using some >image-conversion utilities, which have resulted in the generation of >several MacPaint images stored in UN*X files. I have downloaded these >to my Mac, but I can't call them up in MacPaint because to the Mac, >they look like ordinary document files. > >How can I get MacPaint to open up these files for display? More >generically, how do I change a Mac file from one "Kind" to another? > Generically, you have to use some application or DA that will give you access to the TYPE and CREATOR fields that specify the status of a Mac file. At work I use Disktop DA (via get-info, in advanced mode), which is a neat tool anyway, for that purpose or others. Specifically, a MacPaint file has its TYPE set to PNTG and its CREATOR set to HKPT. Beware that this setup is necessary but not sufficient and that your file has to be properly formatted. I have used a couple of times some image-conversion utilities too (PBM and others), and sometimes MacPaint could open the file normally but other times it just got stuck to the point where only reboot could help. I could not figure out what the problem was nor how to solve it. Maybe I miss something and more is needed than setting type and creator... but I don't think so. So while we are at it, does anyone have a Sun-rasterfile to Macpaint 2.0 or also a Xwindow-dump to Macpaint 2.0 file conversion utility program that really *works* ? >Jim McCauley jem@hpulpcu3.cup.hp.com (408) 447-4993 >Learning Products Engineer >Hewlett Packard Company, Open Systems Software Division >MS 48SO, 19447 Pruneridge Avenue, Cupertino CA 95014 >Disclaimer: My opinions are my own, not my employer's. > ................................................................... Michel Pasquier ........................ AIST/MITI Guest Researcher ElectroTechnical Laboratory . Intelligent Machine Behaviour Section Tsukuba, Ibaraki 205, Japan . Tel: 298-58-5964 . Fax: 298-55-1729 Email: michel@etl.go.jp . "I've no employer, so who do I speak for? ...................................................................