delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/13/16:46:46

Message-ID: <35AA576A.626CA51A@swipnet.se>
From: "Viktor Fägerlind" <lr DOT toreboda AT swipnet DOT se>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Truecolor in Allegro
References: <35A91AE1 DOT A8CB9963 AT swipnet DOT se> <u5WqlRmr9GA DOT 188 AT upnetnews03>
Lines: 28
Organization: A Customer of Tele2
Date: Mon, 13 Jul 1998 18:51:44 GMT
NNTP-Posting-Host: 130.244.80.51
NNTP-Posting-Date: Mon, 13 Jul 1998 20:51:44 MET DST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


DeHackEd wrote:

> Make sure that the background colour is #0. This usually involves creating your
> own palette. Paint Shop Pro can make a pretty well optimized 256 palette, and
> you can edit it in case your transparent colour doesn't come out to what you
> wanted it to be. If this happens, modify the colours switching the colours you
> need, save the palette only, and cancel your changes to the image. Load it
> again, load your modified palette and choose "nearest colour".
>
> You can find Paint Shop Pro at http://www.jasc.com
> A little big but an excellent tool.
> --
> "DeHackEd"
>
> My Email address in the header is fake (spammers). Email me at this address:
>
> http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked
> Viktor Fägerlind wrote in message <35A91AE1 DOT A8CB9963 AT swipnet DOT se>...
> >How do I do to make the background (black) transparent
> >if I use truecolor images in a .dat file, and convert them
> >to 256 color in my program?
> >

  I have already tried this, but allegro refuses to convert the truecolor image
background to color #0 in my palette.

- Raw text -


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