Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!hubcap!ncrcae!sauron!randy From: randy@sauron.Columbia.NCR.COM (Randy Smith) Newsgroups: comp.sys.amiga.tech Subject: Simple IFF question Message-ID: <1745@sauron.Columbia.NCR.COM> Date: 6 Oct 89 18:13:27 GMT Reply-To: randy@sauron.Columbia.NCR.COM (Randy Smith) Distribution: na Organization: E&M-Columbia, NCR Corp, W Columbia, SC Lines: 28 Greetings! I'm finally starting to investigate the IFF. I have been reading over a document that I snagged off of the net some time ago. It is titled: "Intro to Amiga IFF ILBM Files and Amiga Viewmodes" by Carolyn Scheppner - Commodore Amiga Technical Support (Thank You!). At the end of the paper she states that "Amiga ILBMs images must be a even number of bytes wide. Smaller images (such as brushes) are padded to an even byte width." My question is are the height and width values in the BMHD adjusted to take into account the padding or do they reflect the true size of the bitmap without the padding. In other words, are we supposed to "know" about padding and throw it away when we parse a IFF file for the brush. I realize that it's probably in the manuals somewhere, but my manuals are at home. Any help is appreciated. -Randy Smith ------------------------------------------------------------------------- / USENET: randy@sauron.Columbia.NCR.COM | Call CAUSER's Amiga BBS! \ | DISCLAIMER: The opinions above and below | 803-796-3127 8pm-8am 8n1 | | are mine. Not NCR's. OK? | 300/1200/2400 | \ "Cessna 22 sierra fly heading 270 and inform when you have field insight" / -------------------------------------------------------------------------