home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / multimed / 4282 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.4 KB  |  31 lines

  1. Newsgroups: comp.multimedia
  2. 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
  3. From: rkl@cbnewsh.cb.att.com (kevin.laux)
  4. Subject: Re: BMP -> DIB
  5. Organization: AT&T
  6. Date: Thu, 28 Jan 1993 13:57:17 GMT
  7. Message-ID: <1993Jan28.135717.2549@cbnewsh.cb.att.com>
  8. References: <1k8h22INN2ac@news.cs.tu-berlin.de>
  9. Lines: 20
  10.  
  11. In article <1k8h22INN2ac@news.cs.tu-berlin.de>, dimento@cs.tu-berlin.de (Christian Moskal) writes:
  12. > is there a way to convert BMPs to DIBs? Any answers or pointers are
  13. > greatly appreciated.
  14.  
  15.     BMPs *are* DIBs.  DIB format is for bitmapped images that are written
  16. to files so they can be transferred around and also be converted to other
  17. formats.  BMPs in *memory* can either be DIBs or DDBs (Device Dependent
  18. Bitmaps).  DDBs get rendered using the current palette (if not 24 bit) and
  19. the palette is subject to change depending on what else is running and
  20. whether or not the image is in the background or foreground.  Perhaps you've
  21. noticed the psychedelic effect when several images are displayed in a 256
  22. color mode.  The foreground image is rendered as close as possible to its
  23. colors causing the background images to have some of their colors remapped.
  24.  
  25. -- 
  26. ________________________________________________________________________________
  27.     R. Kevin Laux                Email: rkl1@hound.att.com
  28.     AT&T Bell Labs                Voice: (908) 949-1160
  29.     Holmdel, NJ 07733            Fax:   (908) 949-0959
  30.