www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/01/07:51:15

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro datafiles and PCX palettes
Date: Wed, 1 Jan 1997 11:00:49 +0000
Organization: None
Lines: 17
Distribution: world
Message-ID: <TqnndCAhPkyyEwBa@talula.demon.co.uk>
References: <32c9bc7a DOT 0 AT ntnews DOT compusmart DOT ab DOT ca>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Demandred writes:
>Is there any reasonably easy way to grab a palette from a PCX file and
>save it as a PALETTE object in an Allegro Grabber datafile?  I'd

- read in the PCX file containing the palette you want to use (with the   
  File/Read Bitmap menu)

- create a palette object (with the Object/New/Palette menu)

- select grab from the Object menu.

That works for me...

/*
 *  Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
 *  Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
 */

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019