www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/31/06:57:12

Date: Fri, 31 Dec 1999 01:34:02 +0100 (CET)
From: Wilmer van der Gaast <lintux AT dds DOT nl>
To: djgpp AT delorie DOT com
Subject: Re: transparent bitmaps
In-Reply-To: <84g0h6$mqu$1@planja.arnes.si>
Message-ID: <Pine.LNX.4.10.9912310132520.5454-100000@server.minilinux.org>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 30 Dec 1999, Matej wrote:

> Hello
> I'm a newbie and don't understand some parts of tutorials...
> How to make "transparent" bitmaps (like GIF can be) from normal pcx or bmp
> images if I don't have one-color-background so the place around the bitmap
> would look nice on that background?
> Thank you,
> Matej

Just pick a color that you want to be transparent, most people choose 255
or just 0, and make a BMP displayer that skips the pixels with that value.


Grdz

---------

Wilmer van der Gaast (lintux AT dds DOT nl)
ICQ 55707076

- Raw text -


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