home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.multimedia
- Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!uwm.edu!linac!att!cbnewsi!cbnewsh!rkl
- From: rkl@cbnewsh.cb.att.com (kevin.laux)
- Subject: Re: BMP -> DIB
- Organization: AT&T
- Date: Thu, 28 Jan 1993 13:57:17 GMT
- Message-ID: <1993Jan28.135717.2549@cbnewsh.cb.att.com>
- References: <1k8h22INN2ac@news.cs.tu-berlin.de>
- Lines: 20
-
- In article <1k8h22INN2ac@news.cs.tu-berlin.de>, dimento@cs.tu-berlin.de (Christian Moskal) writes:
- >
- > is there a way to convert BMPs to DIBs? Any answers or pointers are
- > greatly appreciated.
-
- BMPs *are* DIBs. DIB format is for bitmapped images that are written
- to files so they can be transferred around and also be converted to other
- formats. BMPs in *memory* can either be DIBs or DDBs (Device Dependent
- Bitmaps). DDBs get rendered using the current palette (if not 24 bit) and
- the palette is subject to change depending on what else is running and
- whether or not the image is in the background or foreground. Perhaps you've
- noticed the psychedelic effect when several images are displayed in a 256
- color mode. The foreground image is rendered as close as possible to its
- colors causing the background images to have some of their colors remapped.
-
- --
- ________________________________________________________________________________
- R. Kevin Laux Email: rkl1@hound.att.com
- AT&T Bell Labs Voice: (908) 949-1160
- Holmdel, NJ 07733 Fax: (908) 949-0959
-