delorie.com/archives/browse.cgi | search |
From: | Nikita Proskourine <nproskou AT goucher DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro Bitmap Functions |
Date: | Mon, 13 Jan 1997 12:16:41 -0500 |
Organization: | Goucher College |
Lines: | 15 |
Message-ID: | <Pine.SUN.3.91.970113121006.22328A-100000@rwd> |
References: | <5b6eqa$r45 AT nr1 DOT toronto DOT istar DOT net> |
NNTP-Posting-Host: | rwd.goucher.edu |
Mime-Version: | 1.0 |
In-Reply-To: | <5b6eqa$r45@nr1.toronto.istar.net> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On 10 Jan 1997, Joyce Osagie wrote: > Does anyone know if allegro come with a function to extract bitmaps > out of a pcx file. I have looked through the text file that comes Try load_pcx(char *fname, PALLETE pal). It returns BITMAP* and fills pal (which is just an array of 256 RGB entries) with pallete info from the file. Sorry if my reply is a bit too late. I had literally hundreds of messages in my mailbox and I just got to this one now. -- Nikita P.S. Yes, I know PALLETE is misspelled. But Allegro's author seems to like that spelling for some reason and I got used to it as well.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |