Message-ID: <35C3E35F.3ED21250@access.net.au> Date: Sun, 02 Aug 1998 13:56:15 +1000 From: Donald McComb Reply-To: drmcc AT ecr DOT mu DOT oz DOT au MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Bitmap Question References: <35c3dbcf DOT 15385935 AT nntp DOT ix DOT netcom DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: d043.meldas4.access.net.au Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk If it's in 256 color mode then the bitmap should take up 1 byte per pixel, or 64 bytes in the case of one of your bitmaps. wavemist AT ix DOT netcom DOT com wrote: > > Hi everyone. I'm trying to find a way to compare two 8 pixel by 8 > pixel Allegro BITMAPs. I tried using memcmp, but I don't know how to > calculate the amount of memory the bitmap takes up. Please help! -- _______________________________ Donald Roy McComb drmcc AT ecr DOT mu DOT oz DOT au ICQ: 14479773