[comp.sys.mac.programmer] PICT File Verifier

moreland@nic.cerf.net (John Moreland) (08/01/90)

Hi,

I've been trying to find an application/utility which I can use to
"verify" PICT files.  I have "PICT Detective", but it bombs if you
try to feed it a bogus PICT file.  I need something that is a little
bit smarter (smarter than me anyway...) to be able to tell what is
wrong with a PICT file.  Why would I wish to do this ?  I'm writting
C code which creates PICT files on a UNIX system.  I have the code
working to the point that **I** think I'm writing PICT files, but
all the Mac programs I try (including PICT Detective) "barf" and
insist that it **isn't** a PICT file...

I've done countless hex dumps (using the UNIX "od -hv").  I even wrote a
HyperCard based PICT interpreter which breaks out the data (with English
comments and file offsets) from an octal dump (I call it "ODe to PICT" :^).
As far as *I* can tell, everything looks fine.

Any suggestions ?

Thanks,
John
morelandj@sdsc.edu