device independent bitmap
device independent bitmap
(graphics, file format)DIB images are normally transferred in metafiles, bmpfiles, and the clipboard.
Transferring colour bitmaps from one device to another was notpossible in versions of Microsoft Windows earlier than 3.0.Application programs can build DIB images without anyinteraction with Windows. If Windows lacks a drawingprimitive, the application can simulate it directly into theDIB instead of using the existing graphics device interface(GDI) primitives. Unfortunately, under Windows versions 3.0and 3.1, GDI cannot perform output operations directly to aDIB.
Conversion between DIB and DDB is performed by the device driver. Where the driver does not have this facility, theconversion is performed by GDI but only in monochrome. DIBsare slower to use than device dependent bitmaps due to theconversions required.