delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/08/09:24:45

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with hicolor mode
Date: 8 May 2000 13:09:05 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 24
Message-ID: <8f6e9h$dbh$1@nets3.rz.RWTH-Aachen.DE>
References: <3917CDC5 DOT 8B6227C1 AT free DOT fr>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 957791345 13681 137.226.32.75 (8 May 2000 13:09:05 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 8 May 2000 13:09:05 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Kirill Pankratiev <kirill AT free DOT fr> wrote:
> Hello all!
> I have a problem and apparently very few people really know how to solve

> it...  I would like to a 16 bit (or 24 or even 32 because since you
> know how the first works the others become trivial) color mode to
> display simultaneously 2 bitmap with different palettes

16bit modes don't *have* a palette, to begin with, so the whole
problem doesn't really exist. Allegro (and maybe other libraries) may
obscure that fact by offering a 'seemingly paletted' mode for 16bit
images, but a the heart of it, there is none.

As long as you stick with originally 8bit paletted input images (your
usual GIF, e.g.), there's one drawback to keep in mind, though: while
you can only use 256 different colors in one such images, those are
choosable from an 18bit (256K colors) color space, or even full 24 bit
ones. So a GIF is not displayable perfectly in a 16bit mode, to start
with. But mixing two GIFs on the same screen does not pose any
additional problem, either.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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