Re: can someone explain the definition of DDB and DIB?



This tutorial cleared up some of my confusion.

http://www.thecodeproject.com/bitmap/gditutorial.asp

If I understand correctly, the reason for DIB and DDB is to deal with
video cards that use palettes less than 24 bit.

.



Relevant Pages

  • Re: Rapid gfx display Qs
    ... point contains a DDB? ... You might like to check out this DDB thing further just in case I am wrong on any of these points, but here is some code that I wrote a long time ago now to compare the blit speed of DIBs versus the speed of Autoredraw Picture Boxes, which I think contain DDBs,. ... PicBox to PicBox: 7.6 milliseconds ... Private Declare Function CreateCompatibleDC Lib "gdi32" _ ...
    (microsoft.public.vb.general.discussion)
  • Re: can someone explain the definition of DDB and DIB?
    ... > I am very confused about the definition of DDB vs. DIB. ... is a special case Bitmap that's used to perform various masking operations such as drawing icons which are used throughout the OS, ... A DIBSection is a Device Independent Bitmap which focuses more on preserving the image data rather than display performance, ...
    (microsoft.public.win32.programmer.gdi)
  • Re: LoadImage & LR_CREATEDIBSECTION
    ... > transform a DDB into a DIB. ... with GDI - it's all taken care of for you behind the scenes. ... rare cases can have an arbitrary depth Since this is a GDI object ...
    (microsoft.public.vb.winapi.graphics)
  • Re: CreateBitmap : How to draw on it ?
    ... I can generate a bitmap incompatible with the current ... How than do you define a DDB, and how is a DIB from ... CreateBitmap command? ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Changing brightness of bitmap
    ... DIB is a windows representation of bitmap. ... But DDB is device representation ...
    (microsoft.public.win32.programmer.gdi)