www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/17/19:07:19

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Q: remapping .BMP palettes
Date: Wed, 16 Jul 1997 19:44:41 +0100
Organization: None
Distribution: world
Message-ID: <MUYAhZAZaRzzEw85@talula.demon.co.uk>
References: <33CC298D DOT 77A2 AT cynergy DOT com DOT au>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

BECman writes:
>I am currently developing a project using DJGPP and Allegro.
>I have created a number of .BMP files, all of which use a
>different palette, and was wondering if any one knows of an
>easy way of remapping the palette of one file to another files
>palette?

Combine all your 256 color pictures into a huge 24 bit .TGA file, reduce
that to 256 colors with your favorite image conversion program (if it is
a good one, it will generate a nice optimal palette for you), and then
split the resulting image back up into the original files...


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.

- Raw text -


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