Path: 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 Distribution: na Organization: Stanford University Lines: 23 > >> 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