Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE360F7CA@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: ALLEGRO: problem with bitmap palette from datafile Date: Mon, 8 Mar 1999 12:45:12 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com ian_dunbar AT my-dejanews DOT com writes: > I have a problem displaying a 256 color bitmap. It is displayed as all the > wrong colors. Your code looks ok, so I'd guess that this is a color format conversion problem. What color depth are you using, and what format is your image? Are you sure that you are setting the graphics mode before you load in the file? If you are loading a paletted graphic for display in a truecolor mode, you'll need to disable the automatic color conversion and do this yourself before you display it: see the set_color_conversion() function in the docs. Shawn Hargreaves.