delorie.com/archives/browse.cgi | search |
From: | David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk> |
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: | <kmQgUUALQYEzEwS2@jenkinsdavid.demon.co.uk> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |