delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/13/09:30:26

From: "MK" <m DOT kovac AT null DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: So lemme get this straight
Date: Wed, 13 Jun 2001 14:33:36 +0200
Organization: AMIS.NET
Lines: 26
Message-ID: <992435581.151843@pacman.amis.net>
References: <3B26A50C DOT B926BE12 AT home DOT com>
NNTP-Posting-Host: pacman.amis.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Cache-Post-Path: pacman.amis.net!unknown AT ultra DOT gw DOT amis DOT net
X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

No palette in 16, 24 and 32 bit modes. Instead the pixel value itself
contains RGB values (it is not an index like in 8bit modes).

Note that 24 and 32 bit (TrueColor) modes are basically the same, the fourth
byte is not really used and is there so that you have pixels nicely  32bit
aligned (to speed up video RAM access).


"PM" <paulm14 AT home DOT com> wrote in message news:3B26A50C DOT B926BE12 AT home DOT com...
> Ok so when talking about colour considerations when programming in the
> different colour depths, is this right?
>
> When programming in 256 colour or 8 bit mode, a palette is used, which
> is an 256 elemented array of the RGB structure. Correct?
> The palette is used to manipulate colour.
>
> When programming in high colour or true colour, what is used to
> manipulate colour here? is an array of 16 million RGB Structures used?
>
> --
> Thanks in advance,
> Paul M.
> paulm14 AT home DOT com
>


- Raw text -


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