delorie.com/archives/browse.cgi | search |
Message-ID: | <37D7FF37.CD6AB544@swipnet.se> |
From: | Anders David Skarin <hobbit AT swipnet DOT se> |
X-Mailer: | Mozilla 4.5 [en] (Win98; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Does Allegro BLIT really convert between colordepths |
References: | <8D53104ECD0CD211AF4000A0C9D60AE301650959 AT probe-2 DOT acclaim-euro DOT net> |
NNTP-Posting-Host: | 130.244.42.14 |
X-Complaints-To: | news-abuse AT swip DOT net |
X-Trace: | nntpserver.swip.net 936902654 130.244.42.14 (Thu, 09 Sep 1999 20:44:14 MET DST) |
NNTP-Posting-Date: | Thu, 09 Sep 1999 20:44:14 MET DST |
Organization: | A Customer of Tele2 |
X-Sender: | s-437261 AT dialup42-1-14 DOT swipnet DOT se |
Date: | Thu, 09 Sep 1999 20:40:55 +0200 |
Lines: | 26 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Shawn Hargreaves wrote: > > Anders David Skarin writes: > > There is one small thing i can't get over though... blit will > > not (as the manual sas) convert between differnt colordepths. > [...] > > BITMAP *test = create_bitmap_ex(32,320,240); > > You create a 256 color bitmap. A 256 color bitmap. I thought colordepth 32 would be ARGB? > > > destroy_bitmap(test); > > Now you destroy it. Sorry about this, this was at the end of my code ofcourse, I somehow got it to moved up when i posted the message. I thought the BITMAP class had an internal way of storing colorvalues, so that 32bit would always be ARGB. No matter what graphics card (mine is GBR), thats why 0x00FF5500 seemed correct for 32bit orange. I shall have a peek in the documentation. Thanx for showing any intrest at all!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |