Message-ID: <399E019C.18499EBE@gtcom.net> From: Krogg X-Mailer: Mozilla 4.73 [en] (Win95; U) X-Accept-Language: en,en-US,en-GB,ja,af MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Graphics with allegro on dos (palette problems) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 Date: Fri, 18 Aug 2000 23:40:12 -0400 NNTP-Posting-Host: 12.16.179.204 X-Trace: eagle.america.net 966656599 12.16.179.204 (Fri, 18 Aug 2000 23:43:19 EDT) NNTP-Posting-Date: Fri, 18 Aug 2000 23:43:19 EDT Organization: 24hoursupport.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Georges Mokbel wrote: > > when i load a bitmap using allegro and set the palette of this picture and > then show it on sreen ... everything works perfectly.. but when comes the > time to show new bitmap ... the colors change because the palettes are not > the same. > > How can i fix that You can use 16 or 32 bit color modes as one option. As another option you can save all your pictures with the same palette....there are several free utilities out there that can do this for you. Or if you are only wanting to show one picture at a time then just re- set_palette() when you display the next picture....... -- |"""""<`.THE PRINCE ,'>"""""""""""""""""""""""""""""""""""| | `.`/""""""\,',' my sig is too big, | |SEE HIS ( / \ \' SEE HIS but its really cool. | | FACE \/<> <>\/ SMILE | | / W \ Visit my ascii art site: | | ,'\_|||||_/`. http://www.gtcom.net/~krogg/ascii/ | | ,',' ||| `.`. krogg DOT no DOT to DOT spam AT gtcom DOT net | |____<,' TIME TO DIE `.>____Remove no.to.spam to reply____|