Article View: comp.sys.amiga.tech
Article #108Re: DeluxePaint III and IFF
From: Tomas G. Rokicki
Date: Tue, 20 Jun 1989 06:21
Date: Tue, 20 Jun 1989 06:21
23 lines
1333 bytes
1333 bytes
> >> EA decided in it's infinite wisdom, and to my chargin, to allow
> >> chunks of odd sizes. This screwed up my primitive IFF parsing so that
> >No! Someone tell me this isn't true. First, someone verify that
Here's the scoop on IFF. RKM, Includes and AutoDocs, the brand-new one,
page 1-2, says:
Each chunk is:
char typeID[4] ;
unsigned long datasize ;
char data[] ;
and
- Every odd-length chunk must be followed by a 0 pad byte. This
pad byte is not counted in datasize.
So odd-length chunks are allowed, providing they are padded out to an
even length. Now, anybody want to look at a Dpaint III file and tell
me what they do? If I could get one that fails on most readers, I'd
really love to take a look at it . . .
-tom
Technical Details
Message-ID:
<10115@polya.Stanford.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!polya!rokickiReferences:
<1419@dover.sps.mot.com> <110824@sun.Eng.Sun.COM> <111101@sun.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!polya!rokicki From: rokicki@polya.Stanford.EDU (Tomas G. Rokicki) Newsgroups: comp.sys.amiga.tech Subject: Re: DeluxePaint III and IFF Keywords: IFF DPIII Message-ID: <10115@polya.Stanford.EDU> Date: 20 Jun 89 06:21:50 GMT References: <1419@dover.sps.mot.com> <110824@sun.Eng.Sun.COM> <111101@sun.Eng.Sun.COM> Sender: Tomas G. Rokicki <rokicki@polya.Stanford.EDU> Distribution: na Organization: Stanford University Lines: 23