From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro----Finding dimensions of .pcx's Date: Mon, 24 Feb 1997 20:10:37 +0000 Organization: None Distribution: world Message-ID: References: NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 11 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp David Jenkins writes: >When I load a .pcx into a buffer,how can I find the width and height of >this picture??? Given that you have a BITMAP *bmp which was returned by load_pcx(), the width is bmp->w and the height is bmp->h. /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Beauty is a French phonetic corruption of a short cloth neck ornament. */