Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!brutus.cs.uiuc.edu!psuvax1!psuvm!DUPONT!KENNEDY From: KENNEDY%WWPACS@DUPONT.COM (Tony Kennedy) Newsgroups: bit.listserv.i-amiga Subject: RE: I need some IFF technical help! Message-ID: Date: 1 Feb 90 21:32:00 GMT Sender: Info-Amiga List Reply-To: Info-Amiga List Lines: 30 Approved: NETNEWS@PSUVM Gateway X-VMS-To: ESPRNT::IN%"I-AMIGA%UBVM@pucc.princeton.EDU" X-To: I-AMIGA%UBVM@PUCC.PRINCETON.EDU >>hello! >> I have recently written a program to read iff files using the standard >>IFF chunks, and for full sized pictures, it works fine. Yet, I now have a >>need for viewing and manipulating IFF bobs and brushes, and for these pictures, >>the size (width &height) are normally smaller than the standard screen size for >>the particular resolution in which they are drawn. Therefore, I have no way >>of determining the correct resolution these brushes are supposed to be drawn >>in. Does anyone out there know how to find the correct resolution inside each >>IFF bob file? I tried searching for the CAMG chunk, but none of the iff files >>I have, have this chunk in them! Any help would be greatly appreciated! Yeah, I ran into the same problem. You need to use the Xaspect and Yaspect fields from the bitmap header. I can't remember what values they are (it's the Advanced System Programmers Guide from Abacus) 'cause I'm at work. But I can look them up tonight if you still need them. >>thanks, No sweat. :^) >>CURTIS@UREGINAV ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tony Kennedy I know that you believe you understand what Setpoint Inc what you think I said, but I'm not sure (304)863-2903 you realize that what you heard is not what I meant. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~