From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Allegro----Finding dimensions of .pcx's Date: Mon, 24 Feb 1997 12:05:31 +0000 Organization: None Distribution: world Message-ID: NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 11 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp When I load a .pcx into a buffer,how can I find the width and height of this picture??? I've been thinking of using getpixel() to scan across till it reads -1 (Outside of buffer.) to get the width then the same with height.But it seems a bit kludy. -- David Jenkins