| delorie.com/archives/browse.cgi | search |
| From: | "Terragon" <webXmaster AT terragon DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Allegro Bitmap Size |
| Date: | Fri, 22 Jan 1999 15:07:17 -0800 |
| Organization: | http://extra.newsguy.com |
| Lines: | 13 |
| Message-ID: | <78b0cm$bc6@enews3.newsguy.com> |
| NNTP-Posting-Host: | p-059.newsdawg.com |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Is there a function in Allegro that will return the height and width of a bitmap? I am trying to write a program that will scale any size image to one that is 400 pixels wide with a relative height. Since the source image can be any size, I need to be able to find the height and width of it before I can scale it properly. Any help would be appreciated! Matt
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |