www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/01/18:30:27

From: mgaugy AT ix DOT netcom DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro HiColor: 15 or 16 bit?
Date: Wed, 01 Apr 1998 14:22:09 -0800
Organization: Quantum Corp
Lines: 33
Message-ID: <3522BE11.48E7@ix.netcom.com>
References: <01bd5d87$03f507c0$LocalHost AT default>
Reply-To: mgaugy AT ix DOT netcom DOT com
NNTP-Posting-Host: hoinguy2.qntm.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Rylan wrote:
> 
> Hi,
> 
> I have a question for you guys: Which hicolor mode will be the best choice
> under Allegro? Does 15 bit offer a speed advantage over 16 bit, or is 16
> bit faster, since it seems transfers can be done in double dwords?
> Does 15 bit images take significantly less storage space than 16 bit
> images?
> 
> I am developing a game that currently runs in 8bit color, and would like to
> make it run in hicolor mode.
> Which of these two modes would be best, 15 or 16 bit?
> 
> Please reply by mail if at all possible.
> 
> Fanx!
> --
> Spawned By Rylan
> Is truth beauty or beauty truth?


It really doesn't make a difference whether you want 15-bit or 16-bit.
They both take up the same space.  The only exception is that, in
16-bit color mode, the green value has an extra bit making it 6 bits.

FEDCBA98 76543210
-rrrrrgg gggbbbbb  15-bit color
rrrrrggg gggbbbbb  16-bit color

Good luck.

mgaugy AT ix DOT netcom DOT com

- Raw text -


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