From: "Question" Newsgroups: comp.os.msdos.djgpp Subject: [Allegro] Primitive bitmap access in datafiles Date: Fri, 19 Jun 1998 00:22:36 +1200 Organization: Wave Internet Services Lines: 14 Message-ID: <6mb0kf$u1c$1@news.wave.co.nz> NNTP-Posting-Host: a34.ak1.wave.co.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk How do you access individual pixels of a bitmap that is embedded in a datafile. e.g. If the "images[1].dat" pointed to the data in a datafile, and using an 8bit (256 colour) depth, how would you get the colour of the pixel at say x=5, y=3? I seem to recall from the docs that BITMAP structure has a ->line pointer for every row, but bitmap's in datafiles do not as far as I can see. Any help would be appreciated.