jmsellens@watdragon.waterloo.edu (John M. Sellens) (01/14/88)
MacDraw can save its files in either DRWG or PICT format. How can
I determine, by inspecting the bytes of the data fork, which
format a particular file is in? I checked in Tech Notes 21 and 27,
and I suspect that the answer is that I can't. The 512 byte headers
are exactly the same in some (all?) cases, and the data doesn't seem
to have a lot of clues. Oh well, I guess I'll have to try looking
for the .info part of the file (I'm doing this on UNIX you see...).
Thanks for any advice you can offer.
John Sellens
{decvax|utzoo|ihnp4|allegra|clyde}!watmath!watdragon!jmsellens
jmsellens@dragon.waterloo.{edu,CDN} jsellens@watmta.BITNET
jmsellens%dragon@waterloo.csnet
"Of all the stupid things I could have thought, this was the worst"
- Joe Jacksondenbeste@bgsuvax.UUCP (William C. DenBesten) (01/15/88)
jmsellens@watdragon.waterloo.edu (John M. Sellens) writes: > MacDraw can save its files in either DRWG or PICT format. How can > I determine, by inspecting the bytes of the data fork, which > format a particular file is in? It would be infinately easier to look at the type (as in type &creator) of the file. For files that have been binhexed, this information is in the .info file. You can display it under unix by saying: % xbin -l mypict.hqx On the other hand, if this is the information you need to reconstruct.... --- William C. DenBesten | CSNET denbeste@research1.bgsu.edu Dept of Computer Science | UUCP ...!cbosgd!osu-cis!bgsuvax!denbeste Bowling Green State University | Bowling Green, OH 43403-0214 |