delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/09/20:42:41

Message-ID: <38A21448.47C51935@home.com>
From: Robin Johnson <robbat2 AT home DOT com>
Organization: Orbit Computers
X-Mailer: Mozilla 4.5 [en]C-AtHome0405 (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: color problems
References: <EHio4.806$7U6 DOT 4214900 AT nnrp2 DOT proxad DOT net>
Lines: 35
Date: Thu, 10 Feb 2000 01:28:46 GMT
NNTP-Posting-Host: 24.113.36.103
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.bc.home.com 950146126 24.113.36.103 (Wed, 09 Feb 2000 17:28:46 PST)
NNTP-Posting-Date: Wed, 09 Feb 2000 17:28:46 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Shire wrote:

> Hi,
>
> i try to blit and draw some text in 24 bpp
> in 640x480.
>
> My first bitmap 640x480x24 don't appear nice colored

Umm, You don't need a palette for a 24 bit colour image!

> i try  the palette grabed with grabber utility from this bitmap
> color appear much better but that's not the "true" color
>
> then when i use make_col to textprintf some text or when i draw
> some lines, there is a mistake whith the color.
>
> i initialize allegro

you need to set colorconv here too.

> set the colordepth
> set the gfx_mode
>

--
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail     : robbat2 AT robbat2 DOT t-p-l DOT com
ICQ#       : 30269588 or 41961639
Home Page  : http://robbat2.t-p-l.com
Time Zone  : Pacific Daylight (GMT - 8)


- Raw text -


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